diff options
author | YuSanka <yusanka@gmail.com> | 2022-06-16 13:59:33 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2022-06-16 13:59:33 +0300 |
commit | 84ec233734840a8a4bedc486a189895839456240 (patch) | |
tree | 0af39d6a5015c186457186cac4a35fec2e3cc3e1 | |
parent | db31995310c1743faa0c1ce9d3135af6cb7e2c71 (diff) |
Follow-up https://github.com/prusa3d/PrusaSlicer/commit/d0b4a4a87da65ba079456863092a335f192bf6dd - Preferences Dialog:Set flag m_settings_layout_changed to false,
when CANCEL button was pushed.
-rw-r--r-- | src/slic3r/GUI/Preferences.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slic3r/GUI/Preferences.cpp b/src/slic3r/GUI/Preferences.cpp index a4317d8f4..d301f0d9a 100644 --- a/src/slic3r/GUI/Preferences.cpp +++ b/src/slic3r/GUI/Preferences.cpp @@ -714,14 +714,17 @@ void PreferencesDialog::revert(wxEvent&) }
if (key == "old_settings_layout_mode") {
m_rb_old_settings_layout_mode->SetValue(app_config->get(key) == "1");
+ m_settings_layout_changed = false;
continue;
}
if (key == "new_settings_layout_mode") {
m_rb_new_settings_layout_mode->SetValue(app_config->get(key) == "1");
+ m_settings_layout_changed = false;
continue;
}
if (key == "dlg_settings_layout_mode") {
m_rb_dlg_settings_layout_mode->SetValue(app_config->get(key) == "1");
+ m_settings_layout_changed = false;
continue;
}
|