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:
parent
e792a67dc6
commit
7045c68327
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue