FIX: dont change when choosing NO

jira: STUDIO-12279
Change-Id: I5b0a6da4938665d84dbb82e502d1d59df46c61ff
(cherry picked from commit 959d0dff91b14409e543f273191d904665c21c94)
This commit is contained in:
jiaxi.chen 2025-07-07 18:52:11 +08:00 committed by Noisyfox
parent 54f758055c
commit ddee9f3976

View file

@ -1660,6 +1660,7 @@ void Tab::on_value_change(const std::string& opt_key, const boost::any& value)
if (dialog.ShowModal() == wxID_NO) {
new_conf.set_key_value("support_filament", new ConfigOptionInt(0));
m_config_manipulation.apply(m_config, &new_conf);
on_value_change(opt_key, 0);
}
wxGetApp().plater()->update();
}