2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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