From e16fa4c2590e0a11e37992b446373a3110a67f4e Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 28 Nov 2008 15:59:29 +0900 Subject: [PATCH] make suspend fact suspend the fact, not the card --- ankiqt/ui/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index 07d673521..d370feaee 100644 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -970,7 +970,7 @@ To upgrade an old deck, download Anki 0.9.8.7.""")) self.deck.setModified() def onSuspend(self): - self.currentCard.tags = addTags("Suspended", self.currentCard.tags) + self.currentCard.fact.tags = addTags("Suspended", self.currentCard.fact.tags) self.deck.updatePriority(self.currentCard) self.currentCard.setModified() self.deck.setModified()