From 685ac13b54d93dcfca1b656b3df2633bb9969b55 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 7 Sep 2022 20:23:40 +0300 Subject: [PATCH] [SSE] Fix locking chart settings --- apps/spreadsheeteditor/main/app/view/ChartSettings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/app/view/ChartSettings.js b/apps/spreadsheeteditor/main/app/view/ChartSettings.js index ea4c29e05..adedb3383 100644 --- a/apps/spreadsheeteditor/main/app/view/ChartSettings.js +++ b/apps/spreadsheeteditor/main/app/view/ChartSettings.js @@ -212,7 +212,7 @@ define([ var chartSettings = this.api.asc_getChartObject(true), // don't lock chart object series = chartSettings ? chartSettings.getSeries() : null; - this.btnSwitch.setDisabled(!series || series.length<1 || !chartSettings || !chartSettings.getRange()); + this.btnSwitch.setDisabled(this._locked || !series || series.length<1 || !chartSettings || !chartSettings.getRange()); } else { //sparkline this._originalProps = props; this.isChart = false;