mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
fix focus note option (#563)
This commit is contained in:
parent
b1d9a39e36
commit
02531e1db3
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue