Skip to content

Commit

Permalink
Fix parameters not updating on non active tabs (#5400)
Browse files Browse the repository at this point in the history
  • Loading branch information
yw4z committed May 19, 2024
1 parent ac423ce commit 3f83d68
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/slic3r/GUI/Tab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3f83d68

Please sign in to comment.