diff --git a/apps/presentationeditor/main/app/controller/Animation.js b/apps/presentationeditor/main/app/controller/Animation.js index 48c54b39a..3fbe620f2 100644 --- a/apps/presentationeditor/main/app/controller/Animation.js +++ b/apps/presentationeditor/main/app/controller/Animation.js @@ -182,7 +182,7 @@ define([ }, addNewEffect: function (type, group, groupName, replace) { - if (this._state.Effect == type) return; + if (this._state.Effect == type && this._state.EffectGroup == group && replace) return; var parameter = this.view.setMenuParameters(type, groupName, undefined); this.api.asc_AddAnimation(group, type, (parameter != undefined)?parameter:0, replace); this._state.EffectGroup = group;