mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
disallow ctrl+shift etc as well to trigger links (#590)
This commit is contained in:
parent
8aadb18d4d
commit
5e8bb48c3a
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class AnkiWebView(QWebView):
|
|||
self.triggerPageAction(QWebPage.Copy)
|
||||
evt.accept()
|
||||
# work around a bug with windows qt where shift triggers buttons
|
||||
if isWin and evt.modifiers() == Qt.ShiftModifier and not evt.text():
|
||||
if isWin and evt.modifiers() & Qt.ShiftModifier and not evt.text():
|
||||
evt.accept()
|
||||
return
|
||||
QWebView.keyPressEvent(self, evt)
|
||||
|
|
Loading…
Reference in a new issue