mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -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
|
||||
|
||||
def nextDue(self, c, index):
|
||||
if c.queue == 0:
|
||||
if c.odid:
|
||||
return _("(cram)")
|
||||
elif c.queue == 0:
|
||||
return str(c.due)
|
||||
elif c.queue == 1:
|
||||
date = c.due
|
||||
|
|
Loading…
Reference in a new issue