FIX: [STUDIO-1389] update dirty state when changing bed type

Change-Id: I5e8939b72a68ebd51b900289bdc9b38695797d08
This commit is contained in:
chunmao.guo 2022-11-18 19:01:13 +08:00 committed by Lane.Wei
parent eecc2a738c
commit 7587cb5737
2 changed files with 2 additions and 0 deletions

View file

@ -157,6 +157,7 @@ void PartPlate::set_bed_type(BedType bed_type, bool& same_as_global)
m_config.set_key_value("curr_bed_type", new ConfigOptionEnum<BedType>(bed_type));
if (m_plater) {
m_plater->update_project_dirty_from_presets();
//m_plater->schedule_background_process();
DynamicConfig& proj_cfg = wxGetApp().preset_bundle->project_config;
if (proj_cfg.has(bed_type_key)) {