mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -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:
|
if w != mw:
|
||||||
w.close()
|
w.close()
|
||||||
else:
|
else:
|
||||||
self.clearFocus()
|
self.parent().setFocus()
|
||||||
break
|
break
|
||||||
w = w.parent()
|
w = w.parent()
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in a new issue