summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/ARCodeAddEdit.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-08-03 21:27:27 -0700
committerPierre Bourdon <delroth@gmail.com>2014-08-03 21:27:27 -0700
commit497de04c529e6a47fb9f781de7ad1d6d89814160 (patch)
tree72d766a1e9f5b48c8b6d91fbe2697d11b81fe58e /Source/Core/DolphinWX/ARCodeAddEdit.cpp
parent95a8c24841f21954e27bd3d85d3cdf59bf8db23c (diff)
parent0ed29e1fac94db18451a233e252976b4201bae24 (diff)
Merge pull request #671 from lioncash/non-panic
DolphinWX: Use a regular wxMessageBox instead of a PanicAlert for non-panic errors.
Diffstat (limited to 'Source/Core/DolphinWX/ARCodeAddEdit.cpp')
-rw-r--r--Source/Core/DolphinWX/ARCodeAddEdit.cpp3
1 files changed, 2 insertions, 1 deletions
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 <wx/event.h>
#include <wx/gbsizer.h>
#include <wx/gdicmn.h>
+#include <wx/msgdlg.h>
#include <wx/sizer.h>
#include <wx/spinbutt.h>
#include <wx/stattext.h>
@@ -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;
}