[PE] Fix Bug 58916

This commit is contained in:
Julia Radzhabova 2022-09-07 17:00:20 +03:00
parent 1ccdbafac0
commit 3e7bc7ac15

View file

@ -150,10 +150,14 @@ define([
this._settings[settingsType].lockedHeader = !!value.get_LockHeader && value.get_LockHeader(); this._settings[settingsType].lockedHeader = !!value.get_LockHeader && value.get_LockHeader();
} else { } else {
this._settings[settingsType].locked = value.get_Locked(); this._settings[settingsType].locked = value.get_Locked();
if (settingsType == Common.Utils.documentSettingsType.Shape && value.asc_getTextArtProperties()) { if (settingsType == Common.Utils.documentSettingsType.Shape) {
this._settings[Common.Utils.documentSettingsType.TextArt].props = value; if (value.asc_getIsMotionPath()) {
this._settings[Common.Utils.documentSettingsType.TextArt].hidden = 0; this._settings[settingsType].hidden = 1;
this._settings[Common.Utils.documentSettingsType.TextArt].locked = value.get_Locked(); } else if (value.asc_getTextArtProperties()) {
this._settings[Common.Utils.documentSettingsType.TextArt].props = value;
this._settings[Common.Utils.documentSettingsType.TextArt].hidden = 0;
this._settings[Common.Utils.documentSettingsType.TextArt].locked = value.get_Locked();
}
} }
} }
} }