From 641aae126ca64a77daaaf8e41f3621f9dfe227f5 Mon Sep 17 00:00:00 2001 From: yw4z Date: Sun, 19 May 2024 18:08:19 +0300 Subject: [PATCH] Fix parameters not updating on non active tabs --- 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()