set col mod explicitly in decks.select()

This commit is contained in:
Damien Elmes 2020-04-03 09:55:22 +10:00
parent ab6eeb5882
commit d5f6d8b476

View File

@ -531,7 +531,7 @@ class DeckManager:
actv = self.children(did)
actv.sort()
self.col.conf["activeDecks"] = [did] + [a[1] for a in actv]
self.changed = True
self.col.setMod()
def children(self, did: int) -> List[Tuple[Any, Any]]:
"All children of did, as (name, id)."