FIX: disable the extruder switch while printing
jira: [STUDIO-9648] Change-Id: I027bf7f72b77c35422b2d904f3b0839dcbe3669e
This commit is contained in:
parent
f0efb9af0d
commit
27d5ca4ac6
|
@ -3013,6 +3013,14 @@ void StatusPanel::update_misc_ctrl(MachineObject *obj)
|
||||||
|
|
||||||
/*style*/
|
/*style*/
|
||||||
m_nozzle_btn_panel->Show();
|
m_nozzle_btn_panel->Show();
|
||||||
|
if (!obj->is_in_printing() && obj->ams_status_main != AMS_STATUS_MAIN_FILAMENT_CHANGE)
|
||||||
|
{
|
||||||
|
m_nozzle_btn_panel->Enable();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
m_nozzle_btn_panel->Disable();
|
||||||
|
}
|
||||||
|
|
||||||
m_extruderImage[select_index]->setExtruderCount(m_nozzle_num);
|
m_extruderImage[select_index]->setExtruderCount(m_nozzle_num);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue