mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 11:02:08 +00:00
FIX: disable the extruder switch while printing
jira: [STUDIO-9648] Change-Id: I027bf7f72b77c35422b2d904f3b0839dcbe3669e (cherry picked from commit 27d5ca4ac6a8eb8aa938d4537bb2902c21a9cd82)
This commit is contained in:
@@ -3040,6 +3040,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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user