mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
ENH:optimize the detection of FTP connection status
Change-Id: I9e7095959f3933e5fa22a0b274d221b1c2c42878
This commit is contained in:
parent
9b59fb4cbc
commit
875c851b61
3 changed files with 26 additions and 25 deletions
|
@ -751,8 +751,11 @@ void SelectMachinePopup::update_user_devices()
|
|||
}
|
||||
op->Bind(EVT_UNBIND_MACHINE, [this, dev, mobj](wxCommandEvent& e) {
|
||||
dev->set_selected_machine("");
|
||||
if (mobj)
|
||||
if (mobj) {
|
||||
mobj->set_access_code("");
|
||||
mobj->set_user_access_code("");
|
||||
}
|
||||
|
||||
MessageDialog msg_wingow(nullptr, _L("Log out successful."), "", wxAPPLY | wxOK);
|
||||
if (msg_wingow.ShowModal() == wxOK) { return; }
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue