mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
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:
@@ -2221,7 +2221,9 @@ void StatusPanel::update_ams_control_state(bool is_support_virtual_tray, bool is
|
|||||||
if (obj->is_in_extrusion_cali()) {
|
if (obj->is_in_extrusion_cali()) {
|
||||||
enable[ACTION_BTN_LOAD] = false;
|
enable[ACTION_BTN_LOAD] = false;
|
||||||
enable[ACTION_BTN_UNLOAD] = 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()) {
|
if (obj->is_in_printing() && !obj->can_resume()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user