FIX: the machine status is not refreshed after unbinding

jira: STUDIO-10017
Change-Id: I351a17abac132369ecf342ffb79b17228d5ef250
(cherry picked from commit 4a01c840ab73a455e1580169f57c25b10fa9e85f)
This commit is contained in:
zhimin.zeng 2025-01-20 11:08:37 +08:00 committed by Noisyfox
parent 4887de8cbe
commit 83971debef
2 changed files with 3 additions and 2 deletions

View file

@ -5232,8 +5232,6 @@ int MachineObject::parse_json(std::string payload, bool key_field_only)
}
DeviceManager::update_local_machine(*this);
if (GUI::wxGetApp().plater())
GUI::wxGetApp().plater()->update_machine_sync_status();
return 0;
}

View file

@ -1816,6 +1816,9 @@ void GUI_App::init_networking_callbacks()
}
}
}
if (GUI::wxGetApp().plater())
GUI::wxGetApp().plater()->update_machine_sync_status();
});
};