Explorar el Código

UI: Fix hotkeys auto repeating

Clayton Groeneveld hace 5 años
padre
commit
e60edf53d5
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      UI/obs-app.cpp

+ 3 - 0
UI/obs-app.cpp

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