diff options
| author | 2022-02-01 21:00:07 -0600 | |
|---|---|---|
| committer | 2022-02-01 21:00:37 -0600 | |
| commit | 330b31ae2eae7f429661672d466983201cf6b4c5 (patch) | |
| tree | 84ec20baa470957a9ab2ada237e69e393643c63a | |
| parent | Merge pull request #7791 from german77/wall_clock (diff) | |
| download | yuzu-330b31ae2eae7f429661672d466983201cf6b4c5.tar.gz yuzu-330b31ae2eae7f429661672d466983201cf6b4c5.tar.xz yuzu-330b31ae2eae7f429661672d466983201cf6b4c5.zip | |
yuzu: Disable auto repeat on hotkeys again
| -rw-r--r-- | src/yuzu/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index d9e689d14..556d2cdb3 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp | |||
| @@ -965,6 +965,7 @@ void GMainWindow::LinkActionShortcut(QAction* action, const QString& action_name | |||
| 965 | static const QString main_window = QStringLiteral("Main Window"); | 965 | static const QString main_window = QStringLiteral("Main Window"); |
| 966 | action->setShortcut(hotkey_registry.GetKeySequence(main_window, action_name)); | 966 | action->setShortcut(hotkey_registry.GetKeySequence(main_window, action_name)); |
| 967 | action->setShortcutContext(hotkey_registry.GetShortcutContext(main_window, action_name)); | 967 | action->setShortcutContext(hotkey_registry.GetShortcutContext(main_window, action_name)); |
| 968 | action->setAutoRepeat(false); | ||
| 968 | 969 | ||
| 969 | this->addAction(action); | 970 | this->addAction(action); |
| 970 | 971 | ||