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()