mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
webview was calling wrong super func
This commit is contained in:
parent
9a99ee1acb
commit
4da884d1b6
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ class AnkiWebView(QWebView):
|
||||||
if self._keyHandler(evt):
|
if self._keyHandler(evt):
|
||||||
evt.accept()
|
evt.accept()
|
||||||
return
|
return
|
||||||
QWebView.keyPressEvent(self, evt)
|
QWebView.keyReleaseEvent(self, evt)
|
||||||
|
|
||||||
def contextMenuEvent(self, evt):
|
def contextMenuEvent(self, evt):
|
||||||
# lazy: only run in reviewer
|
# lazy: only run in reviewer
|
||||||
|
|
Loading…
Reference in a new issue