From 6f0efd11688fff890be75e9000e7200180a2c7af Mon Sep 17 00:00:00 2001 From: YuSanka Date: Mon, 4 Mar 2019 12:52:30 +0100 Subject: [PATCH] Fixed a bug in a printer preset updating --- src/slic3r/GUI/Tab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index d4c6a051d..632627eba 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -2596,7 +2596,7 @@ void Tab::select_preset(std::string preset_name) // The preset will be switched to a different, compatible preset, or the '-- default --'. if (pu.technology == new_printer_technology) m_dependent_tabs.emplace_back(pu.tab_type); - if (pu.old_preset_dirty) + if (pu.old_preset_dirty && !pu.new_preset_compatible) pu.presets->discard_current_changes(); } }