summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-11-18 20:26:28 +0100
committerGitHub <noreply@github.com>2021-11-18 20:26:28 +0100
commita100f5d5d4e50449bd295af313b7c36fef038312 (patch)
tree567be39b64bab4efd9d26c773121117a3e17433c
parentMerge pull request #7348 from Morph1984/ci-disable-submodule-fetch (diff)
parentPrevent window flickering when holding Esc (diff)
downloadyuzu-a100f5d5d4e50449bd295af313b7c36fef038312.tar
yuzu-a100f5d5d4e50449bd295af313b7c36fef038312.tar.gz
yuzu-a100f5d5d4e50449bd295af313b7c36fef038312.tar.bz2
yuzu-a100f5d5d4e50449bd295af313b7c36fef038312.tar.lz
yuzu-a100f5d5d4e50449bd295af313b7c36fef038312.tar.xz
yuzu-a100f5d5d4e50449bd295af313b7c36fef038312.tar.zst
yuzu-a100f5d5d4e50449bd295af313b7c36fef038312.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 d057dc889..6071a222f 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1031,7 +1031,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();
}