Fix for stopping the Undo History being desynchronised from actual Undo queue.

This commit is contained in:
Sofox
2023-11-06 23:55:14 +00:00
parent 3e7f638d7b
commit 662522ae5a
3 changed files with 9 additions and 31 deletions

View File

@ -463,6 +463,10 @@ bool UndoRedo::has_redo() const {
return (current_action + 1) < actions.size();
}
bool UndoRedo::is_merging() const {
return merging;
}
uint64_t UndoRedo::get_version() const {
return version;
}