unsuspend explicitly suspended cards before packaged deck export

This commit is contained in:
Damien Elmes 2010-01-20 18:56:58 +09:00
parent 149e3e5b76
commit 1cfef7a295

View file

@ -1885,6 +1885,9 @@ You are currently cramming. Please close this deck first."""))
d.syncName = None
d.suspended = u""
self.deck.updateProgress()
# unsuspend cards
d.unsuspendCards(d.s.column0("select id from cards where priority = -3"))
self.deck.updateProgress()
d.updateAllPriorities()
d.utcOffset = -1
d.flushMod()