ENH:rry again after subscription failure

Change-Id: Ieedc4059834561ed77f2e66dbf93be21a2d62b61
This commit is contained in:
tao wang 2023-07-07 12:18:49 +08:00 committed by Lane.Wei
parent 7ffeb1a432
commit 6c8f82334e
3 changed files with 23 additions and 1 deletions

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)