mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-25 11:57:14 -05:00
DolphinWX: Use a regular wxMessageBox instead of a PanicAlert for non-panic errors.
This commit is contained in:
@@ -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."));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user