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