From ac423ce16247cc29bb13b8028e3035802eb872ac Mon Sep 17 00:00:00 2001 From: SoftFever Date: Sun, 19 May 2024 23:05:13 +0800 Subject: [PATCH 1/2] fix a regression that select default page not working fixes #5309 --- src/slic3r/GUI/Plater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 24b8f8f37fd..4ad01855b4d 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -1268,7 +1268,7 @@ void Sidebar::update_all_preset_comboboxes() // Orca:: show device tab based on vendor type p_mainframe->show_device(use_bbl_network); - p_mainframe->select_tab(MainFrame::tp3DEditor); + p_mainframe->m_tabpanel->SetSelection(p_mainframe->m_tabpanel->GetSelection()); } void Sidebar::update_presets(Preset::Type preset_type) From 3f83d68e0ed7991cd41d17afff8794b19764a975 Mon Sep 17 00:00:00 2001 From: yw4z Date: Sun, 19 May 2024 18:52:34 +0300 Subject: [PATCH 2/2] Fix parameters not updating on non active tabs (#5400) --- src/slic3r/GUI/Tab.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index 595434a9be1..b9a9f139b88 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -1172,8 +1172,10 @@ void Tab::load_config(const DynamicPrintConfig& config) // Reload current $self->{config} (aka $self->{presets}->edited_preset->config) into the UI fields. void Tab::reload_config() { - if (m_active_page) - m_active_page->reload_config(); + //if (m_active_page) + // m_active_page->reload_config(); + for (auto page : m_pages) + page->reload_config(); } void Tab::update_mode()