From d5f6d8b476e753e4bca8f203bc4574c7ea103d64 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 3 Apr 2020 09:55:22 +1000 Subject: [PATCH] set col mod explicitly in decks.select() --- pylib/anki/decks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib/anki/decks.py b/pylib/anki/decks.py index 07dabac17..1a64a833d 100644 --- a/pylib/anki/decks.py +++ b/pylib/anki/decks.py @@ -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)."