Commit fd95ca21 authored by campaign's avatar campaign

修复undo后,redo按钮不可点问题

parent c7b4d556
......@@ -66,6 +66,14 @@ kity.extendClass( Minder, {
this._hasEnterExecCommand = false;
} else {
result = cmd.execute.apply( cmd, [ me ].concat( cmdArgs ) );
if(!this._hasEnterExecCommand){
if ( cmd.isSelectionChanged() ) {
this._firePharse( new MinderEvent( 'selectionchange' ) );
}
this._firePharse( new MinderEvent( 'interactchange' ) );
}
}
return result === undefined ? null : result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment