mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Increment sched.reps for preview cards in V2 (#1573)
This is to make the timebox dialog report the correct count.
This commit is contained in:
parent
71e554b1db
commit
35c8449ab2
1 changed files with 2 additions and 1 deletions
|
@ -462,11 +462,12 @@ limit ?"""
|
|||
card.flush()
|
||||
|
||||
def _answerCard(self, card: Card, ease: int) -> None:
|
||||
self.reps += 1
|
||||
|
||||
if self._previewingCard(card):
|
||||
self._answerCardPreview(card, ease)
|
||||
return
|
||||
|
||||
self.reps += 1
|
||||
card.reps += 1
|
||||
|
||||
new_delta = 0
|
||||
|
|
Loading…
Reference in a new issue