mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
FIX: print-error dialog: hide cancel button, fix msg display
Change-Id: I26fe098cedd16ee568060f12bb5aea855e9ae279
This commit is contained in:
parent
508f814bbc
commit
a0e273fd06
3 changed files with 19 additions and 5 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue