Settings mode behaviour now identical to Win32

This commit is contained in:
Cacodemon345
2022-02-06 12:45:55 +06:00
parent c311658330
commit 34b9c824e0
3 changed files with 16 additions and 8 deletions

View File

@@ -149,7 +149,7 @@ void Settings::save() {
void Settings::accept()
{
if (confirm_save)
if (confirm_save && !settings_only)
{
QMessageBox questionbox(QMessageBox::Icon::Question, "86Box", QStringLiteral("%1\n\n%2").arg(tr("Do you want to save the settings?"), tr("This will hard reset the emulated machine.")), QMessageBox::Save | QMessageBox::Cancel, this);
QCheckBox *chkbox = new QCheckBox(tr("Don't show this message again"));