mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
update combinedDue attr in cardAnswered(), not just on disk
This commit is contained in:
parent
60c76c93ff
commit
220670a048
1 changed files with 1 additions and 0 deletions
|
@ -373,6 +373,7 @@ where factId = :fid and id != :id""", fid=card.factId, id=card.id) or 0
|
||||||
space = space * spaceFactor * 86400.0
|
space = space * spaceFactor * 86400.0
|
||||||
space = max(minSpacing, space)
|
space = max(minSpacing, space)
|
||||||
space += time.time()
|
space += time.time()
|
||||||
|
card.combinedDue = max(card.due, space)
|
||||||
# check what other cards we've spaced
|
# check what other cards we've spaced
|
||||||
if self.reviewEarly:
|
if self.reviewEarly:
|
||||||
extra = ""
|
extra = ""
|
||||||
|
|
Loading…
Reference in a new issue