Selaa lähdekoodia

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

Tobias 7 vuotta sitten
vanhempi
commit
9333ee29ca
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/yuzu/main.cpp

+ 1 - 1
src/yuzu/main.cpp

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