mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 23:42:23 -04:00
explicitly focus the type answer field
This commit is contained in:
parent
3349ba71be
commit
8f05f4808e
1 changed files with 1 additions and 0 deletions
|
@ -443,6 +443,7 @@ new:
|
|||
def showAnswerButton(self):
|
||||
if self.currentCard.cardModel.typeAnswer:
|
||||
self.mainWin.buttonStack.setCurrentIndex(4)
|
||||
self.mainWin.typeAnswerField.setFocus()
|
||||
if not unicode(self.mainWin.typeAnswerField.text()):
|
||||
self.mainWin.typeAnswerField.setText(_(
|
||||
"Type in the answer and hit enter"))
|
||||
|
|
Loading…
Reference in a new issue