mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04: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