From ad80613d06d7049d7e77aa05c349912d4596b8d2 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 8 Dec 2010 11:25:01 +0900 Subject: [PATCH] if the deck is not randomized, show actual due date of new cards --- ankiqt/ui/cardlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ankiqt/ui/cardlist.py b/ankiqt/ui/cardlist.py index b109a6ede..e8181de34 100644 --- a/ankiqt/ui/cardlist.py +++ b/ankiqt/ui/cardlist.py @@ -231,7 +231,7 @@ facts.id = cards.factId), firstAnswered from cards where id = :id""", reps = self.cards[index.row()][CARD_REPS] secs = d - time.time() if secs <= 0: - if not reps: + if not reps and self.deck.newCardOrder == 0: return _("(new card)") else: return _("%s ago") % fmtTimeSpan(abs(secs), pad=0)