mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
set deck created time on download
This commit is contained in:
parent
e08a86c28d
commit
2db2b65df0
1 changed files with 1 additions and 0 deletions
|
@ -2651,6 +2651,7 @@ class DeckStorage(object):
|
|||
DeckStorage._addIndices(deck)
|
||||
for m in deck.models:
|
||||
deck.updateCardsFromModel(m)
|
||||
deck.created = time.time()
|
||||
deck.finishProgress()
|
||||
# fix a bug with current model being unset
|
||||
if not deck.currentModel and deck.models:
|
||||
|
|
Loading…
Reference in a new issue