yuzu: Add a missing "!" to fix the stuck-in-fullscreen bug

This commit is contained in:
Tobias 2018-11-12 20:57:15 +01:00 committed by GitHub
parent 5d7167dfca
commit 9333ee29ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1612,7 +1612,7 @@ void GMainWindow::closeEvent(QCloseEvent* event) {
return; return;
} }
if (ui.action_Fullscreen->isChecked()) { if (!ui.action_Fullscreen->isChecked()) {
UISettings::values.geometry = saveGeometry(); UISettings::values.geometry = saveGeometry();
UISettings::values.renderwindow_geometry = render_window->saveGeometry(); UISettings::values.renderwindow_geometry = render_window->saveGeometry();
} }