mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: print-error dialog: hide cancel button, fix msg display
Change-Id: I26fe098cedd16ee568060f12bb5aea855e9ae279
This commit is contained in:
@@ -1410,7 +1410,7 @@ void StatusPanel::update_error_message()
|
||||
show_error_message(error_msg);
|
||||
//hint dialog
|
||||
BOOST_LOG_TRIVIAL(info) << "Print error! " << error_msg;
|
||||
ConfirmHintDialog print_error_dlg(this->GetParent(), wxID_ANY, _L("Warning"));
|
||||
ConfirmHintDialog print_error_dlg(this->GetParent(), wxID_ANY, _L("Warning"), ConfirmHintDialog::ButtonStyle::ONLY_CONFIRM);
|
||||
print_error_dlg.SetHint(error_msg);
|
||||
print_error_dlg.ShowModal();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user