mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix suspending of current fact
This commit is contained in:
parent
1410402ce8
commit
594d888993
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue