From 7045c68327ab4218149daf63b669242de94e42c5 Mon Sep 17 00:00:00 2001 From: Silent Date: Sat, 20 Jul 2019 21:04:27 +0200 Subject: [PATCH] When clicking "Ignore for this session", make message box handler return true, so asserts can actually be skipped with this option --- Source/Core/DolphinQt/Main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/DolphinQt/Main.cpp b/Source/Core/DolphinQt/Main.cpp index 58db5bb85f..ebbf53dd9e 100644 --- a/Source/Core/DolphinQt/Main.cpp +++ b/Source/Core/DolphinQt/Main.cpp @@ -68,7 +68,10 @@ static bool QtMsgAlertHandler(const char* caption, const char* text, bool yes_no return true; if (button == QMessageBox::Ignore) + { Common::SetEnableAlert(false); + return true; + } return false; });