mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Viewer: Fix Ctrl+Shift shortcuts not being displayed properly on windows
This commit is contained in:
parent
d327cedc82
commit
e6657d999a
@ -51,7 +51,7 @@ def get_key_text(evt):
|
||||
cc = key.charCodeAt(0)
|
||||
# on windows in webengine pressing ctrl+ascii char gives us an ascii
|
||||
# control code
|
||||
if (0 < cc < 32 or key is 'Enter') and evt.ctrlKey and not evt.metaKey and not evt.shiftKey and not evt.altKey:
|
||||
if (0 < cc < 32 or key is 'Enter') and evt.ctrlKey and not evt.metaKey and not evt.altKey:
|
||||
if key is 'Enter':
|
||||
if evt.code and evt.code is not 'Enter':
|
||||
key = 'm'
|
||||
|
Loading…
x
Reference in New Issue
Block a user