Point to Qt bug

This commit is contained in:
Kovid Goyal 2020-04-03 13:17:18 +05:30
parent 8d217a8878
commit 9c2053ba9c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -53,6 +53,7 @@ def get_key_text(evt):
cc = key.charCodeAt(0)
# on windows in webengine pressing ctrl+ascii char gives us an ascii
# control code
# see https://bugreports.qt.io/browse/QTBUG-81783
if (0 < cc < 32 or key is 'Enter' or key is 'Tab') and evt.ctrlKey and not evt.metaKey and not evt.altKey:
if key is 'Enter':
if evt.code and evt.code is not 'Enter':