make sure we mod deck on current deck change

This commit is contained in:
Damien Elmes 2011-12-07 21:50:26 +09:00
parent dd7434a44d
commit 6356e6f06b

View file

@ -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)."