ENH: add hint dialog for print error message

Change-Id: Ie17bf3a342e7d79f1e5a6f7a1638af6beec2f4a1
This commit is contained in:
tao.jin authored and Lane.Wei committed 2022-10-09 10:37:45 +08:00
1 parent 3ad719cd50
commit dfa475210f
1 file changed
+4
+4
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;
}