summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValeri <v19930312@gmail.com>2021-11-17 16:07:47 +0100
committerGitHub <noreply@github.com>2021-11-17 16:07:47 +0100
commitf7e0a377536cc7e84c81173bd54ac2a45b39addf (patch)
tree74d498e9fe90dfd1f0cc12eba1fcc64fffc2c00b
parentMerge pull request #7326 from ameerj/vp8 (diff)
downloadyuzu-f7e0a377536cc7e84c81173bd54ac2a45b39addf.tar
yuzu-f7e0a377536cc7e84c81173bd54ac2a45b39addf.tar.gz
yuzu-f7e0a377536cc7e84c81173bd54ac2a45b39addf.tar.bz2
yuzu-f7e0a377536cc7e84c81173bd54ac2a45b39addf.tar.lz
yuzu-f7e0a377536cc7e84c81173bd54ac2a45b39addf.tar.xz
yuzu-f7e0a377536cc7e84c81173bd54ac2a45b39addf.tar.zst
yuzu-f7e0a377536cc7e84c81173bd54ac2a45b39addf.zip
-rw-r--r--src/yuzu/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 4e5552d2a..0bae95202 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -975,7 +975,7 @@ void GMainWindow::InitializeHotkeys() {
&QShortcut::activatedAmbiguously, ui->action_Fullscreen, &QAction::trigger);
connect(hotkey_registry.GetHotkey(main_window, QStringLiteral("Exit Fullscreen"), this),
&QShortcut::activated, this, [&] {
- if (emulation_running) {
+ if (emulation_running && ui->action_Fullscreen->isChecked()) {
ui->action_Fullscreen->setChecked(false);
ToggleFullscreen();
}