mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
make sure we mod deck on current deck change
This commit is contained in:
parent
dd7434a44d
commit
6356e6f06b
1 changed files with 1 additions and 0 deletions
|
@ -315,6 +315,7 @@ usn=?,mod=? where id in %s""" % ids2str(cids),
|
|||
actv = self.children(did)
|
||||
actv.sort()
|
||||
self.col.conf['activeDecks'] = [did] + [a[1] for a in actv]
|
||||
self.changed = True
|
||||
|
||||
def children(self, did):
|
||||
"All children of did, as (name, id)."
|
||||
|
|
Loading…
Reference in a new issue