diff --git a/apps/presentationeditor/main/app/view/Animation.js b/apps/presentationeditor/main/app/view/Animation.js index e75b644de..1e2b7e64e 100644 --- a/apps/presentationeditor/main/app/view/Animation.js +++ b/apps/presentationeditor/main/app/view/Animation.js @@ -520,22 +520,32 @@ define([ }, this); (effect.familyEffect) && this.btnParameters.menu.addItem({caption: '--'}); } else { - this.btnParameters.menu.items.forEach(function (opt) { - (opt.value == option) && (selectedElement = opt); - }); + this.btnParameters.menu.items.forEach(function (opt,index) { + if(index=arrEffectOptions.length && opt.value == effectId) + opt.setChecked(true); + }); + } } + this._effectId = effectId; this._groupName = effectGroup; this._familyEffect = effect.familyEffect;