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

@ -15,6 +15,7 @@ public:
void reset_initial_presets();
bool is_dirty() const { return m_plater_dirty || m_project_config_dirty || m_presets_dirty; }
bool is_presets_dirty() const { return m_presets_dirty; }
#if ENABLE_PROJECT_DIRTY_STATE_DEBUG_WINDOW
void render_debug_window() const;