mirror of
https://github.com/ankitects/anki.git
synced 2025-11-07 13:17:12 -05:00
when moving to the next/prev card, focus editor
This commit is contained in:
parent
f3d8434a4e
commit
b9916dd90c
1 changed files with 2 additions and 0 deletions
|
|
@ -1210,9 +1210,11 @@ select fm.id, fm.name from fieldmodels fm""")
|
|||
|
||||
def onPreviousCard(self):
|
||||
self._moveCur(QAbstractItemView.MoveUp)
|
||||
self.editor.web.setFocus()
|
||||
|
||||
def onNextCard(self):
|
||||
self._moveCur(QAbstractItemView.MoveDown)
|
||||
self.editor.web.setFocus()
|
||||
|
||||
def onFind(self):
|
||||
self.form.searchEdit.setFocus()
|
||||
|
|
|
|||
Loading…
Reference in a new issue