mirror of
https://github.com/ankitects/anki.git
synced 2025-11-07 21:27:14 -05:00
make sure to set isDue=0 when answering a card for compatibility reasons
This commit is contained in:
parent
4c76d25b05
commit
1d89be0a1e
1 changed files with 1 additions and 0 deletions
|
|
@ -694,6 +694,7 @@ where id in """
|
||||||
# only update if card was not new
|
# only update if card was not new
|
||||||
card.lastDue = card.due
|
card.lastDue = card.due
|
||||||
card.due = self.nextDue(card, ease, oldState)
|
card.due = self.nextDue(card, ease, oldState)
|
||||||
|
card.isDue = 0
|
||||||
card.lastFactor = card.factor
|
card.lastFactor = card.factor
|
||||||
if lastDelay >= 0:
|
if lastDelay >= 0:
|
||||||
# don't update factor if learning ahead
|
# don't update factor if learning ahead
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue