make sure we always show 3 buttons for cards in initial learning (#928)

even if there's only a single learning step, the easy bonus means we need to
show both buttons
This commit is contained in:
Damien Elmes 2013-07-11 17:59:44 +09:00
parent 3007d884b8
commit 5ea074ed2a

View file

@ -123,7 +123,7 @@ order by due""" % self._deckLimit(),
if card.odid and card.queue == 2: if card.odid and card.queue == 2:
return 4 return 4
conf = self._lrnConf(card) conf = self._lrnConf(card)
if len(conf['delays']) > 1: if card.type in (0,1) or len(conf['delays']) > 1:
return 3 return 3
return 2 return 2
elif card.queue == 2: elif card.queue == 2: