FIX: apply sync extruder config to objects

Change-Id: I4e09787b39a25d908f5008f611151fe590f9f67a
Jira: STUDIO-10866
This commit is contained in:
chunmao.guo 2025-03-18 10:03:39 +08:00 committed by lane.wei
parent 62baf662e9
commit 0476e92e0f
1 changed files with 5 additions and 0 deletions

View File

@ -6265,7 +6265,12 @@ void Tab::sync_excluder()
dlg.ShowModal();
if (dlg.transfer_changes()) {
m_config->apply(config_to_apply);
auto &applying_keys = const_cast<t_config_option_keys&>(m_config_manipulation.applying_keys());
if (m_type > Preset::TYPE_COUNT)
applying_keys = config_to_apply.keys();
reload_config();
if (m_type > Preset::TYPE_COUNT)
applying_keys.clear();
update_changed_ui();
update();
if (m_active_page)