mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-23 08:50:57 +01:00
yuzu: Disable auto repeat on hotkeys again
This commit is contained in:
parent
11099dda2e
commit
330b31ae2e
1 changed files with 1 additions and 0 deletions
|
@ -965,6 +965,7 @@ void GMainWindow::LinkActionShortcut(QAction* action, const QString& action_name
|
||||||
static const QString main_window = QStringLiteral("Main Window");
|
static const QString main_window = QStringLiteral("Main Window");
|
||||||
action->setShortcut(hotkey_registry.GetKeySequence(main_window, action_name));
|
action->setShortcut(hotkey_registry.GetKeySequence(main_window, action_name));
|
||||||
action->setShortcutContext(hotkey_registry.GetShortcutContext(main_window, action_name));
|
action->setShortcutContext(hotkey_registry.GetShortcutContext(main_window, action_name));
|
||||||
|
action->setAutoRepeat(false);
|
||||||
|
|
||||||
this->addAction(action);
|
this->addAction(action);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue