mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Point to Qt bug
This commit is contained in:
parent
8d217a8878
commit
9c2053ba9c
@ -53,6 +53,7 @@ def get_key_text(evt):
|
|||||||
cc = key.charCodeAt(0)
|
cc = key.charCodeAt(0)
|
||||||
# on windows in webengine pressing ctrl+ascii char gives us an ascii
|
# on windows in webengine pressing ctrl+ascii char gives us an ascii
|
||||||
# control code
|
# 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 (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 key is 'Enter':
|
||||||
if evt.code and evt.code is not 'Enter':
|
if evt.code and evt.code is not 'Enter':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user