Merge pull request #98 from ttempe/bug-in-browser
Avoid calling checkValid on an empty note
This commit is contained in:
commit
360ef43460
@ -462,6 +462,8 @@ class Editor(object):
|
||||
"editFocusLost", False, self.note, self.currentField):
|
||||
# something updated the note; schedule reload
|
||||
def onUpdate():
|
||||
if not self.note:
|
||||
return
|
||||
self.stealFocus = True
|
||||
self.loadNote()
|
||||
self.checkValid()
|
||||
|
Loading…
Reference in New Issue
Block a user