Fix for #8800 - Switching to a physical printer based on same printer preset requires reslicing

This commit is contained in:
YuSanka 2022-10-27 15:34:23 +02:00
parent cf0f257d05
commit cdf07c3cce

View File

@ -4191,8 +4191,10 @@ void Plater::priv::on_select_preset(wxCommandEvent &evt)
wxGetApp().get_tab(preset_type)->select_preset(preset_name); wxGetApp().get_tab(preset_type)->select_preset(preset_name);
} }
// update plater with new config if (preset_type != Preset::TYPE_PRINTER || select_preset) {
q->on_config_change(wxGetApp().preset_bundle->full_config()); // update plater with new config
q->on_config_change(wxGetApp().preset_bundle->full_config());
}
if (preset_type == Preset::TYPE_PRINTER) { if (preset_type == Preset::TYPE_PRINTER) {
/* Settings list can be changed after printer preset changing, so /* Settings list can be changed after printer preset changing, so
* update all settings items for all item had it. * update all settings items for all item had it.