mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Fix parameters not updating on non active tabs (#5400)
This commit is contained in:
@@ -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.
|
// Reload current $self->{config} (aka $self->{presets}->edited_preset->config) into the UI fields.
|
||||||
void Tab::reload_config()
|
void Tab::reload_config()
|
||||||
{
|
{
|
||||||
if (m_active_page)
|
//if (m_active_page)
|
||||||
m_active_page->reload_config();
|
// m_active_page->reload_config();
|
||||||
|
for (auto page : m_pages)
|
||||||
|
page->reload_config();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Tab::update_mode()
|
void Tab::update_mode()
|
||||||
|
|||||||
Reference in New Issue
Block a user