mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:07:35 +00:00
LibGUI: Clear undo stack when opening a new document
This commit is contained in:
parent
88803b2e34
commit
67537bfc80
3 changed files with 9 additions and 0 deletions
|
@ -26,6 +26,8 @@ public:
|
|||
|
||||
void finalize_current_combo();
|
||||
|
||||
void clear();
|
||||
|
||||
private:
|
||||
struct UndoCommandsContainer {
|
||||
NonnullOwnPtrVector<Command> m_undo_vector;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue