FIX: the machine status is not refreshed after unbinding in lan mode
jira: STUDIO-10017 Change-Id: I62f955c47fbf7c59782ec8a7a7e316ef020942a5
This commit is contained in:
parent
87bc6b8345
commit
66b5ef0d86
|
@ -2209,6 +2209,9 @@ void GUI_App::init_networking_callbacks()
|
||||||
if (obj) {
|
if (obj) {
|
||||||
obj->parse_json(msg, DeviceManager::key_field_only);
|
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);
|
m_agent->set_on_local_message_fn(lan_message_arrive_fn);
|
||||||
|
|
|
@ -682,6 +682,9 @@ void SelectMachinePopup::update_user_devices()
|
||||||
mobj->erase_user_access_code();
|
mobj->erase_user_access_code();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (GUI::wxGetApp().plater())
|
||||||
|
GUI::wxGetApp().plater()->update_machine_sync_status();
|
||||||
|
|
||||||
MessageDialog msg_wingow(nullptr, _L("Log out successful."), "", wxAPPLY | wxOK);
|
MessageDialog msg_wingow(nullptr, _L("Log out successful."), "", wxAPPLY | wxOK);
|
||||||
if (msg_wingow.ShowModal() == wxOK) { return; }
|
if (msg_wingow.ShowModal() == wxOK) { return; }
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue