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

UI: Fix hotkeys auto repeating
This commit is contained in:
Jim 2020-08-23 04:32:45 -07:00 committed by GitHub
commit b8e2220b61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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