mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
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:
parent
3007d884b8
commit
5ea074ed2a
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue