FIX: can not save file when ams filament changed

Change-Id: Ie7c567f819211cfa34c7bfeebbb415d5b880c4a8
(cherry picked from commit 1f7458b7e0ff23f664e834455dfcc4cb3773f960)
This commit is contained in:
zhimin.zeng 2022-08-08 16:26:37 +08:00 committed by Lane.Wei
parent 6a96bc17c6
commit bfca09c7b2
3 changed files with 13 additions and 4 deletions

View file

@ -4747,7 +4747,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);
wxGetApp().plater()->update_project_dirty_from_presets();
}
bool select_preset = !combo->selection_is_changed_according_to_physical_printers();