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
@ -462,11 +462,12 @@ limit ?"""
|
|||||||
card.flush()
|
card.flush()
|
||||||
|
|
||||||
def _answerCard(self, card: Card, ease: int) -> None:
|
def _answerCard(self, card: Card, ease: int) -> None:
|
||||||
|
self.reps += 1
|
||||||
|
|
||||||
if self._previewingCard(card):
|
if self._previewingCard(card):
|
||||||
self._answerCardPreview(card, ease)
|
self._answerCardPreview(card, ease)
|
||||||
return
|
return
|
||||||
|
|
||||||
self.reps += 1
|
|
||||||
card.reps += 1
|
card.reps += 1
|
||||||
|
|
||||||
new_delta = 0
|
new_delta = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user