mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-20 00:14:25 +08:00
FIX: clean selected machine when connecting failed
Change-Id: I7e4a2bcb055d5a1c0a333fd92179040fb97086f6
This commit is contained in:
parent
2659eab268
commit
f64b42e3d2
@ -1685,6 +1685,7 @@ void GUI_App::init_networking_callbacks()
|
||||
obj->command_get_version();
|
||||
} else if (state == ConnectStatus::ConnectStatusFailed) {
|
||||
obj->set_access_code("");
|
||||
m_device_manager->set_selected_machine("");
|
||||
wxString text;
|
||||
if (msg == "5") {
|
||||
text = wxString::Format(_L("Incorrect password"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user