mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-26 10:11:10 -06:00
Check unsaved preset changes only when presets have been changed in the project
This commit is contained in:
parent
55a555c848
commit
244b66649c
4 changed files with 5 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue