mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix esc key in type answer field
without the change, the selection disappears but typed characters still go to the input area
This commit is contained in:
parent
ac81fefc14
commit
22f2fdf7d6
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class AnkiWebView(QWebEngineView):
|
|||
if w != mw:
|
||||
w.close()
|
||||
else:
|
||||
self.clearFocus()
|
||||
self.parent().setFocus()
|
||||
break
|
||||
w = w.parent()
|
||||
return True
|
||||
|
|
Loading…
Reference in a new issue