Changeset 2617


Ignore:
Timestamp:
Feb 7, 2011, 9:52:56 PM (11 years ago)
Author:
kopal
Message:

can not undo/redo while executing now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WorkspaceManager/WorkspaceManager.cs

    r2616 r2617  
    397397                if (UndoRedoManager != null)
    398398                {
    399                     return UndoRedoManager.CanUndo();
     399                    return !this.isExecuting() && UndoRedoManager.CanUndo();
    400400                }
    401401                else
     
    415415                if (UndoRedoManager != null)
    416416                {
    417                     return UndoRedoManager.CanRedo();
     417                    return !this.isExecuting() && UndoRedoManager.CanRedo();
    418418                }
    419419                else
Note: See TracChangeset for help on using the changeset viewer.