From ddc85b3a39b7f46485e8c99de9c3ec9838c60c0c Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 27 May 2013 12:52:24 +0900 Subject: [PATCH] remember tags when add cards window opened (#632) --- aqt/addcards.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aqt/addcards.py b/aqt/addcards.py index 8df97ef2c..f170cf582 100644 --- a/aqt/addcards.py +++ b/aqt/addcards.py @@ -82,6 +82,7 @@ class AddCards(QDialog): def setupNewNote(self, set=True): f = self.mw.col.newNote() + f.tags = f.model()['tags'] if set: self.editor.setNote(f, focus=True) return f