mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
fix reading being blanked when focused (#605)
This commit is contained in:
parent
bfeafe29d9
commit
983c9b21cf
1 changed files with 2 additions and 0 deletions
|
@ -492,7 +492,9 @@ class Editor(object):
|
|||
"editFocusLost", False, self.note, self.currentField):
|
||||
# something updated the note; schedule reload
|
||||
def onUpdate():
|
||||
self.stealFocus = True
|
||||
self.loadNote()
|
||||
self.stealFocus = False
|
||||
self.checkValid()
|
||||
self.mw.progress.timer(100, onUpdate, False)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue