mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: update cert status when disconnected
jira: [STUDIO-14243] Change-Id: Ibb55ad69cc5eeadb55d4b8187bb38a7a16717527 (cherry picked from commit 48df8a6905d9b487dcb590da1cddf621b46237d4)
This commit is contained in:
@@ -4897,6 +4897,13 @@ void GUI_App::process_network_msg(std::string dev_id, std::string msg)
|
||||
obj->update_device_cert_state(true);
|
||||
}
|
||||
}
|
||||
else if (msg == "device_cert_uninstalled") {
|
||||
BOOST_LOG_TRIVIAL(info) << "process_network_msg, device_cert_uninstalled";
|
||||
Slic3r::DeviceManager *dev = Slic3r::GUI::wxGetApp().getDeviceManager();
|
||||
if (!dev) return;
|
||||
MachineObject *obj = dev->get_my_machine(dev_id);
|
||||
if (obj) { obj->update_device_cert_state(false); }
|
||||
}
|
||||
}
|
||||
|
||||
//BBS pop up a dialog and download files
|
||||
|
||||
Reference in New Issue
Block a user