Explorar o código

yuzu: Disable auto repeat on hotkeys again

Narr the Reg %!s(int64=4) %!d(string=hai) anos
pai
achega
330b31ae2e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/yuzu/main.cpp

+ 1 - 0
src/yuzu/main.cpp

@@ -965,6 +965,7 @@ void GMainWindow::LinkActionShortcut(QAction* action, const QString& action_name
     static const QString main_window = QStringLiteral("Main Window");
     action->setShortcut(hotkey_registry.GetKeySequence(main_window, action_name));
     action->setShortcutContext(hotkey_registry.GetShortcutContext(main_window, action_name));
+    action->setAutoRepeat(false);
 
     this->addAction(action);