mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
make suspend fact suspend the fact, not the card
This commit is contained in:
parent
7577e83c87
commit
e16fa4c259
1 changed files with 1 additions and 1 deletions
|
@ -970,7 +970,7 @@ To upgrade an old deck, download Anki 0.9.8.7."""))
|
||||||
self.deck.setModified()
|
self.deck.setModified()
|
||||||
|
|
||||||
def onSuspend(self):
|
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.deck.updatePriority(self.currentCard)
|
||||||
self.currentCard.setModified()
|
self.currentCard.setModified()
|
||||||
self.deck.setModified()
|
self.deck.setModified()
|
||||||
|
|
Loading…
Reference in a new issue