From 357d75188a77e2e5ecdefe8b41acdf8116261abc Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Sat, 1 Feb 2025 11:11:42 +0300 Subject: [PATCH] [DE] Fix different states --- .../main/app/view/ParagraphSettingsAdvanced.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js b/apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js index a71cd800f2..ce2b508b47 100644 --- a/apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js +++ b/apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js @@ -888,8 +888,10 @@ define([ this.numSpecialBy.setValue(this.FirstLine!== null ? Math.abs(Common.Utils.Metric.fnRecalcFromMM(this.FirstLine)) : '', true); value = props.asc_getRtlDirection(); - this.rbDirRtl.setValue(value, true); - this.rbDirLtr.setValue(!value, true); + if (value !== undefined) { + this.rbDirRtl.setValue(value, true); + this.rbDirLtr.setValue(!value, true); + } this.cmbTextAlignment.setValue((props.get_Jc() !== undefined && props.get_Jc() !== null) ? props.get_Jc() : c_paragraphTextAlignment.LEFT, true);