mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
mark deck dirty on reset cards
This commit is contained in:
parent
fb8f2bd09f
commit
8d3678b9fb
1 changed files with 2 additions and 1 deletions
|
@ -515,6 +515,7 @@ where id in %s""" % ids2str(ids), now=time.time(), new=0)
|
|||
if self.newCardOrder == NEW_CARDS_RANDOM:
|
||||
# we need to re-randomize now
|
||||
self.randomizeNewCards(ids)
|
||||
self.flushMod()
|
||||
self.refresh()
|
||||
|
||||
def randomizeNewCards(self, cardIds=None):
|
||||
|
|
Loading…
Reference in a new issue