From 2363f2a4a32e9be7b94b3ad0862d85c1821cb823 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Fri, 6 Mar 2020 19:15:37 +0100 Subject: [PATCH] Fixed update of UI values, related on parent preset, when preset is detached from system --- src/slic3r/GUI/Tab.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index e8dc6b128..0c08fcb29 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -3096,6 +3096,11 @@ void Tab::save_preset(std::string name /*= ""*/, bool detach) if (m_type == Preset::TYPE_PRINTER) static_cast(this)->m_initial_extruders_count = static_cast(this)->m_extruders_count; + + // Parent preset is "default" after detaching, so we should to update UI values, related on parent preset + if (detach) + update_ui_items_related_on_parent_preset(m_presets->get_selected_preset_parent()); + update_changed_ui(); /* If filament preset is saved for multi-material printer preset,