Skip to content

Commit b5b68ba

Browse files
committed
And inside the dialog as well.
1 parent 85d272b commit b5b68ba

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/qt/qt_settings.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,8 @@ Settings::accept()
297297
return;
298298
}
299299
} else if (changed && !(changed & SETTINGS_REQUIRE_HARD_RESET) && !settings_only) {
300+
const int currentPause = dopause;
301+
plat_pause(1);
300302
save();
301303
config_changed = 2;
302304
main_window->emitVmmSignal();
@@ -311,6 +313,7 @@ Settings::accept()
311313
if (monitors[i].target_buffer)
312314
video_force_resize_set_monitor(1, i);
313315
}
316+
plat_pause(currentPause);
314317

315318
/* Reject so the main window does nothing. */
316319
QDialog::reject();

0 commit comments

Comments
 (0)