From 1e37473b8b3471980e32af01934232b3a3380545 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 31 Jan 2012 06:22:40 +0900 Subject: [PATCH] we always want to go back to the first field when adding --- aqt/addcards.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aqt/addcards.py b/aqt/addcards.py index db33684a8..82d738dc3 100644 --- a/aqt/addcards.py +++ b/aqt/addcards.py @@ -98,6 +98,7 @@ class AddCards(QDialog): note.fields[n] = "" except IndexError: break + self.editor.currentField = 0 self.editor.setNote(note) def removeTempNote(self, note):