mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +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
|
@ -25,6 +25,7 @@
|
|||
#include <wx/font.h>
|
||||
#include <wx/gdicmn.h>
|
||||
#include <wx/listbox.h>
|
||||
#include <wx/msgdlg.h>
|
||||
#include <wx/notebook.h>
|
||||
#include <wx/panel.h>
|
||||
#include <wx/sizer.h>
|
||||
|
@ -676,7 +677,7 @@ void GamepadPage::SaveProfile(wxCommandEvent&)
|
|||
}
|
||||
else
|
||||
{
|
||||
PanicAlertT("You must enter a valid profile name.");
|
||||
WxUtils::ShowErrorDialog(_("You must enter a valid profile name."));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue