SLA supports: ask about saving changes when Esc is pressed

This commit is contained in:
Lukas Matena 2021-08-16 13:05:31 +02:00
parent 0e0c52ade3
commit 0b2ee3bb46
2 changed files with 21 additions and 13 deletions

View file

@ -117,6 +117,7 @@ private:
void auto_generate();
void switch_to_editing_mode();
void disable_editing_mode();
void ask_about_changes_call_after(std::function<void()> on_yes, std::function<void()> on_no);
protected:
void on_set_state() override;