diff options
| -rw-r--r-- | .ci/scripts/merge/apply-patches-by-label-private.py | 2 | ||||
| -rw-r--r-- | .ci/scripts/merge/apply-patches-by-label.py | 2 | ||||
| -rw-r--r-- | src/yuzu/hotkeys.cpp | 2 | ||||
| -rw-r--r-- | src/yuzu/main.cpp | 2 |
4 files changed, 5 insertions, 3 deletions
diff --git a/.ci/scripts/merge/apply-patches-by-label-private.py b/.ci/scripts/merge/apply-patches-by-label-private.py index fe0acd510..16b45043e 100644 --- a/.ci/scripts/merge/apply-patches-by-label-private.py +++ b/.ci/scripts/merge/apply-patches-by-label-private.py | |||
| @@ -25,7 +25,7 @@ def check_individual(repo_id, pr_id): | |||
| 25 | 25 | ||
| 26 | def merge_pr(pn, ref): | 26 | def merge_pr(pn, ref): |
| 27 | print("Matched PR# %s" % pn) | 27 | print("Matched PR# %s" % pn) |
| 28 | print(subprocess.check_output(["git", "fetch", "https://%sdev.azure.com/%s/_git/%s" % (user, org, repo), ref, "-f"])) | 28 | print(subprocess.check_output(["git", "fetch", "https://%sdev.azure.com/%s/_git/%s" % (user, org, repo), ref, "-f", "--no-recurse-submodules"])) |
| 29 | print(subprocess.check_output(["git", "merge", "--squash", 'origin/' + ref.replace('refs/heads/','')])) | 29 | print(subprocess.check_output(["git", "merge", "--squash", 'origin/' + ref.replace('refs/heads/','')])) |
| 30 | print(subprocess.check_output(["git", "commit", "-m\"Merge %s PR %s\"" % (tagline, pn)])) | 30 | print(subprocess.check_output(["git", "commit", "-m\"Merge %s PR %s\"" % (tagline, pn)])) |
| 31 | 31 | ||
diff --git a/.ci/scripts/merge/apply-patches-by-label.py b/.ci/scripts/merge/apply-patches-by-label.py index b2e430ac7..c288a70a1 100644 --- a/.ci/scripts/merge/apply-patches-by-label.py +++ b/.ci/scripts/merge/apply-patches-by-label.py | |||
| @@ -25,7 +25,7 @@ def do_page(page): | |||
| 25 | if (check_individual(pr["labels"])): | 25 | if (check_individual(pr["labels"])): |
| 26 | pn = pr["number"] | 26 | pn = pr["number"] |
| 27 | print("Matched PR# %s" % pn) | 27 | print("Matched PR# %s" % pn) |
| 28 | print(subprocess.check_output(["git", "fetch", "https://github.com/yuzu-emu/yuzu.git", "pull/%s/head:pr-%s" % (pn, pn), "-f"])) | 28 | print(subprocess.check_output(["git", "fetch", "https://github.com/yuzu-emu/yuzu.git", "pull/%s/head:pr-%s" % (pn, pn), "-f", "--no-recurse-submodules"])) |
| 29 | print(subprocess.check_output(["git", "merge", "--squash", "pr-%s" % pn])) | 29 | print(subprocess.check_output(["git", "merge", "--squash", "pr-%s" % pn])) |
| 30 | print(subprocess.check_output(["git", "commit", "-m\"Merge %s PR %s\"" % (tagline, pn)])) | 30 | print(subprocess.check_output(["git", "commit", "-m\"Merge %s PR %s\"" % (tagline, pn)])) |
| 31 | 31 | ||
diff --git a/src/yuzu/hotkeys.cpp b/src/yuzu/hotkeys.cpp index d4e97fa16..e7e58f314 100644 --- a/src/yuzu/hotkeys.cpp +++ b/src/yuzu/hotkeys.cpp | |||
| @@ -46,6 +46,8 @@ QShortcut* HotkeyRegistry::GetHotkey(const QString& group, const QString& action | |||
| 46 | if (!hk.shortcut) | 46 | if (!hk.shortcut) |
| 47 | hk.shortcut = new QShortcut(hk.keyseq, widget, nullptr, nullptr, hk.context); | 47 | hk.shortcut = new QShortcut(hk.keyseq, widget, nullptr, nullptr, hk.context); |
| 48 | 48 | ||
| 49 | hk.shortcut->setAutoRepeat(false); | ||
| 50 | |||
| 49 | return hk.shortcut; | 51 | return hk.shortcut; |
| 50 | } | 52 | } |
| 51 | 53 | ||
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() { | |||
| 1031 | &QShortcut::activatedAmbiguously, ui->action_Fullscreen, &QAction::trigger); | 1031 | &QShortcut::activatedAmbiguously, ui->action_Fullscreen, &QAction::trigger); |
| 1032 | connect(hotkey_registry.GetHotkey(main_window, QStringLiteral("Exit Fullscreen"), this), | 1032 | connect(hotkey_registry.GetHotkey(main_window, QStringLiteral("Exit Fullscreen"), this), |
| 1033 | &QShortcut::activated, this, [&] { | 1033 | &QShortcut::activated, this, [&] { |
| 1034 | if (emulation_running) { | 1034 | if (emulation_running && ui->action_Fullscreen->isChecked()) { |
| 1035 | ui->action_Fullscreen->setChecked(false); | 1035 | ui->action_Fullscreen->setChecked(false); |
| 1036 | ToggleFullscreen(); | 1036 | ToggleFullscreen(); |
| 1037 | } | 1037 | } |