[SSE] Fix Bug 35722.
This commit is contained in:
parent
d72edde725
commit
3dee547c98
|
@ -1888,8 +1888,12 @@ define([
|
||||||
this._state.clrshd_asccolor = color;
|
this._state.clrshd_asccolor = color;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (selectionType == Asc.c_oAscSelectionType.RangeChart || selectionType == Asc.c_oAscSelectionType.RangeChartText)
|
var in_chart = (selectionType == Asc.c_oAscSelectionType.RangeChart || selectionType == Asc.c_oAscSelectionType.RangeChartText);
|
||||||
return;
|
if (in_chart !== this._state.in_chart) {
|
||||||
|
toolbar.btnInsertChart.updateHint(in_chart ? toolbar.tipChangeChart : toolbar.tipInsertChart);
|
||||||
|
this._state.in_chart = in_chart;
|
||||||
|
}
|
||||||
|
if (in_chart) return;
|
||||||
|
|
||||||
if (!toolbar.mode.isEditDiagram)
|
if (!toolbar.mode.isEditDiagram)
|
||||||
{
|
{
|
||||||
|
|
|
@ -2059,6 +2059,7 @@ define([
|
||||||
textTabFile: 'File',
|
textTabFile: 'File',
|
||||||
textTabHome: 'Home',
|
textTabHome: 'Home',
|
||||||
textTabInsert: 'Insert',
|
textTabInsert: 'Insert',
|
||||||
textSurface: 'Surface'
|
textSurface: 'Surface',
|
||||||
|
tipChangeChart: 'Change Chart Type'
|
||||||
}, SSE.Views.Toolbar || {}));
|
}, SSE.Views.Toolbar || {}));
|
||||||
});
|
});
|
|
@ -1664,6 +1664,7 @@
|
||||||
"SSE.Views.Toolbar.tipBack": "Back",
|
"SSE.Views.Toolbar.tipBack": "Back",
|
||||||
"SSE.Views.Toolbar.tipBorders": "Borders",
|
"SSE.Views.Toolbar.tipBorders": "Borders",
|
||||||
"SSE.Views.Toolbar.tipCellStyle": "Cell Style",
|
"SSE.Views.Toolbar.tipCellStyle": "Cell Style",
|
||||||
|
"SSE.Views.Toolbar.tipChangeChart": "Change Chart Type",
|
||||||
"SSE.Views.Toolbar.tipClearStyle": "Clear",
|
"SSE.Views.Toolbar.tipClearStyle": "Clear",
|
||||||
"SSE.Views.Toolbar.tipColorSchemas": "Change Color Scheme",
|
"SSE.Views.Toolbar.tipColorSchemas": "Change Color Scheme",
|
||||||
"SSE.Views.Toolbar.tipCopy": "Copy",
|
"SSE.Views.Toolbar.tipCopy": "Copy",
|
||||||
|
|
Loading…
Reference in a new issue