mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
FIX: clean selected machine when connecting failed
Change-Id: I7e4a2bcb055d5a1c0a333fd92179040fb97086f6
This commit is contained in:
parent
2659eab268
commit
f64b42e3d2
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue