Check unsaved preset changes only when presets have been changed in the project

This commit is contained in:
YuSanka 2021-11-19 16:33:15 +01:00
parent 55a555c848
commit 244b66649c
4 changed files with 5 additions and 1 deletions

View file

@ -140,6 +140,7 @@ public:
~Plater() = default;
bool is_project_dirty() const;
bool is_presets_dirty() const;
void update_project_dirty_from_presets();
int save_project_if_dirty(const wxString& reason);
void reset_project_dirty_after_save();