diff options
author | bunnei <bunneidev@gmail.com> | 2021-11-18 20:26:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-18 20:26:28 +0100 |
commit | a100f5d5d4e50449bd295af313b7c36fef038312 (patch) | |
tree | 567be39b64bab4efd9d26c773121117a3e17433c /src | |
parent | Merge pull request #7348 from Morph1984/ci-disable-submodule-fetch (diff) | |
parent | Prevent window flickering when holding Esc (diff) | |
download | yuzu-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 |
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/main.cpp | 2 |
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(); } |