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

Change-Id: I5e8939b72a68ebd51b900289bdc9b38695797d08
This commit is contained in:
chunmao.guo authored and Lane.Wei committed 2022-12-15 04:38:15 -05:00
1 parent eecc2a738c
commit 7587cb5737
2 files changed
+2

No files matched your search

+1
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)) {