From c234423f043bd99e0b947dccc953262b8f9be7b7 Mon Sep 17 00:00:00 2001 From: Shawn M Moore Date: Mon, 15 Feb 2010 12:51:15 -0500 Subject: [PATCH] Forgot to return the new fact from initializeNewFact --- ankiqt/ui/addcards.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ankiqt/ui/addcards.py b/ankiqt/ui/addcards.py index cfbbb353e..bda54ef06 100644 --- a/ankiqt/ui/addcards.py +++ b/ankiqt/ui/addcards.py @@ -152,6 +152,7 @@ question or answer on all cards."""), parent=self) def initializeNewFact(self, old_fact): f = self.parent.deck.newFact() f.tags = self.parent.deck.lastTags + return f def clearOldFact(self, old_fact): f = self.initializeNewFact(old_fact)