UI: Wipe undo/redo stack when switching scene collections

This commit is contained in:
Ford Smith
2021-04-03 17:52:03 -04:00
committed by Jim
parent 0e944897c6
commit 0b583260a2
3 changed files with 16 additions and 24 deletions

View File

@@ -38,6 +38,7 @@ public:
void disable_undo_redo();
void release();
void clear();
void add_action(const QString &name, undo_redo_cb undo,
undo_redo_cb redo, std::string undo_data,
std::string redo_data, func d);