mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
fix bug where 2 buttons shown on second learn step (#864)
This commit is contained in:
parent
23b5cbd13a
commit
a7b9a7b055
1 changed files with 2 additions and 2 deletions
|
@ -122,8 +122,8 @@ order by due""" % self._deckLimit(),
|
||||||
# normal review in dyn deck?
|
# normal review in dyn deck?
|
||||||
if card.odid and card.queue == 2:
|
if card.odid and card.queue == 2:
|
||||||
return 4
|
return 4
|
||||||
conf = self._lapseConf(card)
|
conf = self._lrnConf(card)
|
||||||
if card.type == 0 or len(conf['delays']) > 1:
|
if 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