FIX: slice btn and error msg not updated after changing bed type

Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I9ee624de38ef9193c0d9cda9f687dbc49d8c5b28
This commit is contained in:
yifan.wu 2022-11-09 10:50:28 +08:00 committed by Lane.Wei
parent a330429af7
commit 4671aed03b

View file

@ -150,6 +150,8 @@ BedType PartPlate::get_bed_type() const
void PartPlate::set_bed_type(BedType bed_type)
{
m_config.set_key_value("curr_bed_type", new ConfigOptionEnum<BedType>(bed_type));
if (m_plater)
m_plater->schedule_background_process();
}
void PartPlate::reset_bed_type()