From 983c9b21cff2148bd80d7ec633b53130286a07b7 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 30 Jan 2013 17:00:17 +0900 Subject: [PATCH] fix reading being blanked when focused (#605) --- aqt/editor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aqt/editor.py b/aqt/editor.py index 3612e60b6..4793329a5 100644 --- a/aqt/editor.py +++ b/aqt/editor.py @@ -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: