fix focus note option (#563)

This commit is contained in:
Damien Elmes 2013-01-29 09:49:04 +09:00
parent b1d9a39e36
commit 02531e1db3

View File

@ -1297,6 +1297,8 @@ update cards set usn=?, mod=?, did=? where id in """ + scids,
def onNote(self):
self.editor.focus()
self.editor.web.setFocus()
self.editor.web.eval("focusField(0);")
def onTags(self):
self.form.tree.setFocus()