mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
don't show due date for cram card, as it's an invalid date
This commit is contained in:
parent
4f09e26c8b
commit
b08ba3cef2
1 changed files with 3 additions and 1 deletions
|
@ -255,7 +255,9 @@ class DataModel(QAbstractTableModel):
|
||||||
return s
|
return s
|
||||||
|
|
||||||
def nextDue(self, c, index):
|
def nextDue(self, c, index):
|
||||||
if c.queue == 0:
|
if c.odid:
|
||||||
|
return _("(cram)")
|
||||||
|
elif c.queue == 0:
|
||||||
return str(c.due)
|
return str(c.due)
|
||||||
elif c.queue == 1:
|
elif c.queue == 1:
|
||||||
date = c.due
|
date = c.due
|
||||||
|
|
Loading…
Reference in a new issue