From 594d8889934594719117652bf3b3b07da0a92ef8 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 24 Feb 2009 01:16:09 +0900 Subject: [PATCH] fix suspending of current fact --- ankiqt/ui/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index f30c03013..d19388d08 100644 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -1332,7 +1332,8 @@ day = :d""", d=yesterday) undo = _("Suspend") self.deck.setUndoStart(undo) self.currentCard.fact.tags = addTags("Suspended", self.currentCard.fact.tags) - self.currentCard.fact.setModified() + self.currentCard.fact.setModified(textChanged=True) + self.deck.updateFactTags([self.currentCard.fact.id]) for card in self.currentCard.fact.cards: self.deck.updatePriority(card) self.deck.setModified()