diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index bb40eae2ec..d9d0aef6c1 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -1641,12 +1641,6 @@ void Tab::on_presets_changed() if (wxGetApp().plater() == nullptr) return; - // Orca: update presets for the selected printer - if(m_type == Preset::TYPE_PRINTER) { - m_preset_bundle->update_selections(*wxGetApp().app_config); - wxGetApp().plater()->sidebar().on_filaments_change(m_preset_bundle->filament_presets.size()); - } - // Instead of PostEvent (EVT_TAB_PRESETS_CHANGED) just call update_presets wxGetApp().plater()->sidebar().update_presets(m_type); @@ -4244,6 +4238,11 @@ bool Tab::select_preset(std::string preset_name, bool delete_current /*=false*/, // check if there is something in the cache to move to the new selected preset apply_config_from_cache(); + // Orca: update presets for the selected printer + if (m_type == Preset::TYPE_PRINTER) { + m_preset_bundle->update_selections(*wxGetApp().app_config); + wxGetApp().plater()->sidebar().on_filaments_change(m_preset_bundle->filament_presets.size()); + } load_current_preset(); }