mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
DolphinWX: Use a regular wxMessageBox instead of a PanicAlert for non-panic errors.
This commit is contained in:
parent
a723fd39df
commit
0ed29e1fac
18 changed files with 106 additions and 89 deletions
|
@ -12,6 +12,7 @@
|
|||
#include <wx/event.h>
|
||||
#include <wx/gbsizer.h>
|
||||
#include <wx/gdicmn.h>
|
||||
#include <wx/msgdlg.h>
|
||||
#include <wx/radiobox.h>
|
||||
#include <wx/sizer.h>
|
||||
#include <wx/spinbutt.h>
|
||||
|
@ -233,7 +234,7 @@ bool CPatchAddEdit::UpdateTempEntryData(std::vector<PatchEngine::PatchEntry>::it
|
|||
|
||||
if (!parsed_ok)
|
||||
{
|
||||
PanicAlertT("Unable to create patch from given values.\nEntry not modified.");
|
||||
wxMessageBox(_("Unable to create patch from given values.\nEntry not modified."), _("Error"));
|
||||
}
|
||||
|
||||
return parsed_ok;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue