ENH: disable extrusion cali btn when printing a job

Change-Id: Iacc559665a00527b01c100e316f61f75b11569d3
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li 2023-05-22 20:19:49 +08:00 committed by Lane.Wei
parent 8271cdd7f1
commit 1babf060e6

View file

@ -2221,7 +2221,9 @@ void StatusPanel::update_ams_control_state(bool is_support_virtual_tray, bool is
if (obj->is_in_extrusion_cali()) {
enable[ACTION_BTN_LOAD] = false;
enable[ACTION_BTN_UNLOAD] = false;
}
enable[ACTION_BTN_CALI] = true;
} else
enable[ACTION_BTN_CALI] = false;
}
if (obj->is_in_printing() && !obj->can_resume()) {