mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-09 07:56:24 -06:00
Fix parameters not updating on non active tabs (#5400)
This commit is contained in:
parent
ac423ce162
commit
3f83d68e0e
1 changed files with 4 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue