1
0
Эх сурвалжийг харах

Merge pull request #3314 from cg2121/hotkeys-fix-repeat

UI: Fix hotkeys auto repeating
Jim 5 жил өмнө
parent
commit
b8e2220b61
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  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());