diff --git a/apps/presentationeditor/main/app/controller/Animation.js b/apps/presentationeditor/main/app/controller/Animation.js index 358d9d869..4b54fdf21 100644 --- a/apps/presentationeditor/main/app/controller/Animation.js +++ b/apps/presentationeditor/main/app/controller/Animation.js @@ -188,7 +188,8 @@ define([ }, addNewEffect: function (type, group, groupName, replace, parametr) { - if (this._state.Effect == type && this._state.EffectGroup == group && replace) return; + if (this._state.Effect == type && this._state.EffectGroup == group && replace) + parametr = this._state.EffectOption; var parameter = this.view.setMenuParameters(type, groupName, parametr); this.api.asc_AddAnimation(group, type, (parameter != undefined)?parameter:0, replace, !Common.Utils.InternalSettings.get("pe-animation-no-preview")); },