From 0ed29e1fac94db18451a233e252976b4201bae24 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 24 Jul 2014 21:46:46 -0400 Subject: DolphinWX: Use a regular wxMessageBox instead of a PanicAlert for non-panic errors. --- Source/Core/DolphinWX/ARCodeAddEdit.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Core/DolphinWX/ARCodeAddEdit.cpp') diff --git a/Source/Core/DolphinWX/ARCodeAddEdit.cpp b/Source/Core/DolphinWX/ARCodeAddEdit.cpp index 6bcfc4fe8d..9920dea29e 100644 --- a/Source/Core/DolphinWX/ARCodeAddEdit.cpp +++ b/Source/Core/DolphinWX/ARCodeAddEdit.cpp @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -148,7 +149,7 @@ void CARCodeAddEdit::SaveCheatData(wxCommandEvent& WXUNUSED (event)) // Codes with no lines appear to be deleted/hidden from the list. Let's prevent that. if (!decryptedLines.size()) { - PanicAlertT("The resulting decrypted AR code doesn't contain any lines."); + WxUtils::ShowErrorDialog(_("The resulting decrypted AR code doesn't contain any lines.")); return; } -- cgit v1.2.3