mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
collapse relearning to 2 buttons if single step
This commit is contained in:
parent
44d62d6a41
commit
35f89bfea7
1 changed files with 6 additions and 1 deletions
|
@ -108,7 +108,12 @@ order by due""" % self._deckLimit(),
|
|||
return card.queue
|
||||
|
||||
def answerButtons(self, card):
|
||||
if card.queue == 2:
|
||||
if not card.odid and card.odue:
|
||||
conf = self._lapseConf(card)
|
||||
if len(conf['delays']) > 1:
|
||||
return 3
|
||||
return 2
|
||||
elif card.queue == 2:
|
||||
return 4
|
||||
else:
|
||||
return 3
|
||||
|
|
Loading…
Reference in a new issue