ENH:rry again after subscription failure

Change-Id: Ieedc4059834561ed77f2e66dbf93be21a2d62b61
This commit is contained in:
tao wang authored and Lane.Wei committed 2023-07-07 17:52:43 +08:00
1 parent 7ffeb1a432
commit 6c8f82334e
3 files changed
+23 -1

No files matched your search

+2 -1
View File
@@ -570,7 +570,8 @@ wxString get_fail_reason(int code)
{
EndModal(wxID_OK);
MessageDialog msg_wingow(nullptr, _L("Log in successful."), "", wxAPPLY | wxOK);
if (msg_wingow.ShowModal() == wxOK) { return; }
msg_wingow.ShowModal();
if(m_machine_info) wxGetApp().on_start_subscribe_again(m_machine_info->dev_id);
}
void BindMachineDialog::on_bind_printer(wxCommandEvent &event)