Browse Source

UI: Fix hotkeys auto repeating

Clayton Groeneveld 5 years ago
parent
commit
e60edf53d5
1 changed files with 3 additions and 0 deletions
  1. 3 0
      UI/obs-app.cpp

+ 3 - 0
UI/obs-app.cpp

@@ -195,6 +195,9 @@ QObject *CreateShortcutFilter()
 					event->nativeVirtualKey());
 					event->nativeVirtualKey());
 			}
 			}
 
 
+			if (event->isAutoRepeat())
+				return true;
+
 			hotkey.modifiers = TranslateQtKeyboardEventModifiers(
 			hotkey.modifiers = TranslateQtKeyboardEventModifiers(
 				event->modifiers());
 				event->modifiers());