FIX: STUDIO-395

update the filament preset parameter dirty logic

Change-Id: Iaca29d397f7395f71a5f17007ab2341f8d4ceeeb
This commit is contained in:
zhimin.zeng 2022-08-03 17:21:59 +08:00 committed by Lane.Wei
parent 10c152c40d
commit e80c6f8935
3 changed files with 19 additions and 4 deletions

View file

@ -4750,6 +4750,7 @@ void Plater::priv::on_select_preset(wxCommandEvent &evt)
if (preset_type == Preset::TYPE_FILAMENT) {
wxGetApp().preset_bundle->set_filament_preset(idx, preset_name);
wxGetApp().get_tab(preset_type)->select_preset(preset_name);
}
bool select_preset = !combo->selection_is_changed_according_to_physical_printers();