mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
ENH: add hint dialog for print error message
Change-Id: Ie17bf3a342e7d79f1e5a6f7a1638af6beec2f4a1
This commit is contained in:
@@ -1397,6 +1397,10 @@ void StatusPanel::update_error_message()
|
|||||||
wxGetApp().get_hms_query()->query_print_error_msg(obj->print_error),
|
wxGetApp().get_hms_query()->query_print_error_msg(obj->print_error),
|
||||||
print_error_str);
|
print_error_str);
|
||||||
show_error_message(error_msg);
|
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;
|
before_error_code = obj->print_error;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user