mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 22:54:08 -06:00
Add a new error dialog
This commit is contained in:
parent
4344eaebca
commit
5624b8afd2
9 changed files with 178 additions and 85 deletions
|
@ -249,7 +249,7 @@ sub catch_error {
|
|||
# static method accepting a wxWindow object as first parameter
|
||||
sub show_error {
|
||||
my ($parent, $message) = @_;
|
||||
Wx::MessageDialog->new($parent, $message, 'Error', wxOK | wxICON_ERROR)->ShowModal;
|
||||
Slic3r::GUI::show_error_id($parent ? $parent->GetId() : 0, $message);
|
||||
}
|
||||
|
||||
# static method accepting a wxWindow object as first parameter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue