From 9c2053ba9c8490e9b4fcc9d552bf0ea74a9499e7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 3 Apr 2020 13:17:18 +0530 Subject: [PATCH] Point to Qt bug --- src/pyj/read_book/shortcuts.pyj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pyj/read_book/shortcuts.pyj b/src/pyj/read_book/shortcuts.pyj index 24552bc8c7..e54d0cb5a5 100644 --- a/src/pyj/read_book/shortcuts.pyj +++ b/src/pyj/read_book/shortcuts.pyj @@ -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':