mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00
update combinedDue for the current card object, not just for the db
This commit is contained in:
parent
0afec850c0
commit
c2f2225b7f
1 changed files with 1 additions and 0 deletions
|
@ -794,6 +794,7 @@ where id in """
|
||||||
if self.answerPreSave:
|
if self.answerPreSave:
|
||||||
self.answerPreSave(card, ease)
|
self.answerPreSave(card, ease)
|
||||||
# save
|
# save
|
||||||
|
card.combinedDue = card.due
|
||||||
card.toDB(self.s)
|
card.toDB(self.s)
|
||||||
# global/daily stats
|
# global/daily stats
|
||||||
anki.stats.updateAllStats(self.s, self._globalStats, self._dailyStats,
|
anki.stats.updateAllStats(self.s, self._globalStats, self._dailyStats,
|
||||||
|
|
Loading…
Reference in a new issue