mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
FIX: disable the switch nozzle if not connected
jira: [STUDIO-10072] Change-Id: I2f705af4cd6f50770c9c0019287855ef90518d18 (cherry picked from commit eae81e9d95059d6fef7dc0ee9e7c38f57e57e902)
This commit is contained in:
@@ -383,6 +383,7 @@ void MonitorPanel::update_all()
|
|||||||
show_status((int)MONITOR_NO_PRINTER);
|
show_status((int)MONITOR_NO_PRINTER);
|
||||||
m_hms_panel->clear_hms_tag();
|
m_hms_panel->clear_hms_tag();
|
||||||
m_tabpanel->GetBtnsListCtrl()->showNewTag(3, false);
|
m_tabpanel->GetBtnsListCtrl()->showNewTag(3, false);
|
||||||
|
m_status_info_panel->update(obj);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2394,7 +2394,12 @@ bool StatusPanel::is_task_changed(MachineObject* obj)
|
|||||||
|
|
||||||
void StatusPanel::update(MachineObject *obj)
|
void StatusPanel::update(MachineObject *obj)
|
||||||
{
|
{
|
||||||
if (!obj) return;
|
if (!obj)
|
||||||
|
{
|
||||||
|
m_nozzle_btn_panel->Disable();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
//m_project_task_panel->Freeze();
|
//m_project_task_panel->Freeze();
|
||||||
update_subtask(obj);
|
update_subtask(obj);
|
||||||
//m_project_task_panel->Thaw();
|
//m_project_task_panel->Thaw();
|
||||||
|
|||||||
Reference in New Issue
Block a user