mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: the machine status is not refreshed after unbinding in lan mode
jira: STUDIO-10017 Change-Id: I62f955c47fbf7c59782ec8a7a7e316ef020942a5 (cherry picked from commit 66b5ef0d86f0212b4843cabed9fe408127a219cf)
This commit is contained in:
@@ -1867,6 +1867,9 @@ void GUI_App::init_networking_callbacks()
|
||||
if (obj) {
|
||||
obj->parse_json(msg, DeviceManager::key_field_only);
|
||||
}
|
||||
|
||||
if (GUI::wxGetApp().plater())
|
||||
GUI::wxGetApp().plater()->update_machine_sync_status();
|
||||
});
|
||||
};
|
||||
m_agent->set_on_local_message_fn(lan_message_arrive_fn);
|
||||
|
||||
Reference in New Issue
Block a user