FIX: The HMS is internal

jira: [STUDIO-10547]
Change-Id: If40e9f3f9a0c9fa22d1e9b25ceef4284a8c61b10
(cherry picked from commit e399f136342cb26333da2afb3fa4aa58f99921e5)
This commit is contained in:
xin.zhang 2025-02-24 19:58:01 +08:00 committed by Noisyfox
parent 7b282924e1
commit 76b54ffffc
3 changed files with 52 additions and 2 deletions

View file

@ -2793,6 +2793,11 @@ void StatusPanel::update_error_message()
if (print_error_str.size() > 4) { print_error_str.insert(4, " "); }
wxString error_msg = wxGetApp().get_hms_query()->query_print_error_msg(obj, obj->print_error);
if (wxGetApp().get_hms_query()->is_internal_error(obj, obj->print_error))
{
return;
}
std::vector<int> used_button;
wxString error_image_url = wxGetApp().get_hms_query()->query_print_image_action(obj, obj->print_error, used_button);
// special case