From a00046643e487f2f42b2ce65d2a92c9657570cca Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 17 Nov 2022 16:17:59 +0300 Subject: [PATCH] [DE] Fix list settings --- apps/documenteditor/main/app/view/ListSettingsDialog.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/documenteditor/main/app/view/ListSettingsDialog.js b/apps/documenteditor/main/app/view/ListSettingsDialog.js index 5643f1b60..c35de1a5a 100644 --- a/apps/documenteditor/main/app/view/ListSettingsDialog.js +++ b/apps/documenteditor/main/app/view/ListSettingsDialog.js @@ -932,10 +932,10 @@ define([ this.spnAlign.setValue(Common.Utils.Metric.fnRecalcFromMM(levelProps.get_NumberPosition()), true); this.spnIndents.setValue(Common.Utils.Metric.fnRecalcFromMM(levelProps.get_IndentSize()), true); this.cmbFollow.setValue(levelProps.get_Suff()); - this.chRestart.setValue(levelProps.get_Restart()===-1); - this.chTabStop.setValue(levelProps.get_StopTab()!==null); - this.spnTabStop.setMinValue(Common.Utils.Metric.fnRecalcFromMM(levelProps.get_NumberPosition())); - this.spnTabStop.setValue(Common.Utils.Metric.fnRecalcFromMM(levelProps.get_StopTab()!==null ? levelProps.get_StopTab() : levelProps.get_IndentSize()), true); + this.chRestart.setValue(levelProps.get_Restart()===-1, true); + this.chTabStop.setValue(levelProps.get_StopTab()!==null, true); + this.spnTabStop.setMinValue(this.spnAlign.getNumberValue()); + this.spnTabStop.setValue(levelProps.get_StopTab()!==null ? Common.Utils.Metric.fnRecalcFromMM(levelProps.get_StopTab()) : this.spnIndents.getNumberValue(), true); this.txtNumFormat.setDisabled(format == Asc.c_oAscNumberingFormat.Bullet); this.spnStart.setDisabled(format == Asc.c_oAscNumberingFormat.Bullet);