When clicking "Ignore for this session", make message box handler return true, so asserts can actually be skipped with this option

This commit is contained in:
Silent 2019-07-20 21:04:27 +02:00
parent e792a67dc6
commit 7045c68327
No known key found for this signature in database
GPG Key ID: AE53149BB0C45AF1

View File

@ -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;
});