diff options
Diffstat (limited to 'src/Authoring/Client/Code/Core/Commands/CmdStack.h')
-rw-r--r-- | src/Authoring/Client/Code/Core/Commands/CmdStack.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Authoring/Client/Code/Core/Commands/CmdStack.h b/src/Authoring/Client/Code/Core/Commands/CmdStack.h index 4aabd228..7388703d 100644 --- a/src/Authoring/Client/Code/Core/Commands/CmdStack.h +++ b/src/Authoring/Client/Code/Core/Commands/CmdStack.h @@ -80,6 +80,8 @@ public: bool CanUndo(); bool CanRedo(); + bool isUndoingOrRedoing() const; + void RemoveLastUndo(); QString GetUndoDescription(); @@ -105,6 +107,8 @@ protected: TCmdList m_UndoList; TCmdList m_RedoList; + bool m_undoingOrRedoing = false; + unsigned long m_MaxUndoStackSize; CModificationListener *m_Listener; |