ENH: add hint dialog for print error message

Change-Id: Ie17bf3a342e7d79f1e5a6f7a1638af6beec2f4a1
This commit is contained in:
tao.jin 2022-09-28 15:28:19 +08:00 committed by Lane.Wei
parent 3ad719cd50
commit dfa475210f

View file

@ -1397,6 +1397,10 @@ void StatusPanel::update_error_message()
wxGetApp().get_hms_query()->query_print_error_msg(obj->print_error),
print_error_str);
show_error_message(error_msg);
//hint dialog
ConfirmHintDialog print_error_dlg(this->GetParent(), wxID_ANY, _L("Warning"));
print_error_dlg.SetHint(error_msg);
print_error_dlg.ShowModal();
}
before_error_code = obj->print_error;
}