Merge pull request #1674 from FearlessTobi/fullscreen-fix

yuzu: Add a missing "!" to fix the stuck-in-fullscreen bug
This commit is contained in:
James Rowe 2018-11-12 13:00:25 -07:00 committed by GitHub
commit b4a6ce02ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1621,7 +1621,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();
} }