mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
FIX: config deep compare & plate config extruder switch
Change-Id: Iae1716e6511e252f131ab4355f9521d7611d7133 (cherry picked from commit 7e7e8723667852b34851fc19095f879b975773ba)
This commit is contained in:
@@ -1761,6 +1761,10 @@ void Tab::on_value_change(const std::string& opt_key, const boost::any& value)
|
||||
tab->update_extruder_variants(extruder_idx);
|
||||
tab->reload_config();
|
||||
}
|
||||
if (auto tab = wxGetApp().plate_tab) {
|
||||
tab->update_extruder_variants(extruder_idx);
|
||||
tab->reload_config();
|
||||
}
|
||||
for (auto tab : wxGetApp().model_tabs_list) {
|
||||
tab->update_extruder_variants(extruder_idx);
|
||||
tab->reload_config();
|
||||
@@ -4956,6 +4960,10 @@ void Tab::load_current_preset()
|
||||
// Reload preset pages with the new configuration values.
|
||||
update_extruder_variants();
|
||||
if (m_type == Preset::TYPE_PRINT) {
|
||||
if (auto tab = wxGetApp().plate_tab) {
|
||||
tab->update_extruder_variants();
|
||||
tab->reload_config();
|
||||
}
|
||||
for (auto tab : wxGetApp().model_tabs_list) {
|
||||
tab->update_extruder_variants();
|
||||
tab->reload_config();
|
||||
|
||||
Reference in New Issue
Block a user