mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 00:25:58 +08:00
Fix parameters not updating on non active tabs (#5400)
This commit is contained in:
parent
ac423ce162
commit
3f83d68e0e
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user