disable broken lastCard=currentCard check for now

This commit is contained in:
Damien Elmes 2010-12-25 07:07:39 +09:00
parent d0fa8ce9a6
commit 3eca37d75c

View file

@ -375,10 +375,11 @@ Please do not file a bug report with Anki.<br>""")
if self.currentCard:
if self.lastCard:
if self.lastCard.id == self.currentCard.id:
if self.currentCard.combinedDue > time.time():
# if the same card is being shown and it's not
# due yet, give up
return self.moveToState("deckFinished")
pass
# if self.currentCard.combinedDue > time.time():
# # if the same card is being shown and it's not
# # due yet, give up
# return self.moveToState("deckFinished")
self.enableCardMenuItems()
return self.moveToState("showQuestion")
else: