FIX: update the info ready check

jira: [STUDIO-10771] [Studio-10608]
Change-Id: I6af3409ebdc7c173b2cfcd6745854e928753dff1
(cherry picked from commit 04e45e4a6e4e4fbc2b3664d29a17b508b7b58f24)
This commit is contained in:
xin.zhang
2025-03-10 15:41:37 +08:00
committed by Noisyfox
parent a1bc9a7fc9
commit a200fa80fa
2 changed files with 5 additions and 1 deletions

View File

@@ -2600,7 +2600,7 @@ bool StatusPanel::is_task_changed(MachineObject* obj)
void StatusPanel::update(MachineObject *obj)
{
if (!obj)
if (!obj || !obj->is_info_ready())
{
m_nozzle_btn_panel->Disable();
return;