Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2022-06-16 13:59:33 +0300
committerYuSanka <yusanka@gmail.com>2022-06-16 13:59:33 +0300
commit84ec233734840a8a4bedc486a189895839456240 (patch)
tree0af39d6a5015c186457186cac4a35fec2e3cc3e1
parentdb31995310c1743faa0c1ce9d3135af6cb7e2c71 (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.cpp3
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;
}