mirror of
https://github.com/ankitects/anki.git
synced 2025-11-08 13:47:13 -05:00
feed keystrokes in webview to super
This commit is contained in:
parent
fdddf7de4e
commit
57b816d573
1 changed files with 1 additions and 1 deletions
|
|
@ -287,7 +287,7 @@ class AnkiWebView(QWebView):
|
|||
if evt.matches(QKeySequence.Copy):
|
||||
self.triggerPageAction(QWebPage.Copy)
|
||||
evt.accept()
|
||||
evt.ignore()
|
||||
QWebView.keyPressEvent(self, evt)
|
||||
|
||||
def contextMenuEvent(self, evt):
|
||||
QWebView.contextMenuEvent(self, evt)
|
||||
|
|
|
|||
Loading…
Reference in a new issue