Undo and redo checks work on gui undo and redo buttons, not just shortcuts
This commit is contained in:
parent
9aa41ddb7f
commit
b745cae794
3 changed files with 19 additions and 8 deletions
|
|
@ -78,6 +78,9 @@ class World {
|
|||
void save_to_file(const std::filesystem::path& fileName);
|
||||
void load_from_file(const std::filesystem::path& fileName, std::string_view buffer);
|
||||
|
||||
void undo_with_checks();
|
||||
void redo_with_checks();
|
||||
|
||||
ServerPortionID ownID;
|
||||
|
||||
std::filesystem::path filePath;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue