mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
show due date for suspended cards
This commit is contained in:
parent
d4d3bbb492
commit
db3067a2f0
1 changed files with 3 additions and 3 deletions
|
@ -264,11 +264,11 @@ class DataModel(QAbstractTableModel):
|
|||
def nextDue(self, c, index):
|
||||
if c.odid:
|
||||
return _("(filtered)")
|
||||
elif c.queue == 0:
|
||||
return str(c.due)
|
||||
elif c.queue == 1:
|
||||
date = c.due
|
||||
elif c.queue in (2,3):
|
||||
elif c.queue == 0 or c.type == 0:
|
||||
return str(c.due)
|
||||
elif c.queue in (2,3) or c.type == 2:
|
||||
date = time.time() + ((c.due - self.col.sched.today)*86400)
|
||||
else:
|
||||
return _("(susp.)")
|
||||
|
|
Loading…
Reference in a new issue