mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 08:22:24 -04: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