mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
make sure conf not applied to child filtered decks (#490)
This commit is contained in:
parent
aefc58d5d5
commit
22877fd789
1 changed files with 2 additions and 0 deletions
|
@ -130,6 +130,8 @@ class DeckConf(QDialog):
|
||||||
return
|
return
|
||||||
for did in self.childDids:
|
for did in self.childDids:
|
||||||
deck = self.mw.col.decks.get(did)
|
deck = self.mw.col.decks.get(did)
|
||||||
|
if deck['dyn']:
|
||||||
|
continue
|
||||||
deck['conf'] = self.deck['conf']
|
deck['conf'] = self.deck['conf']
|
||||||
self.mw.col.decks.save(deck)
|
self.mw.col.decks.save(deck)
|
||||||
tooltip(ngettext("%d deck updated.", "%d decks updated.", \
|
tooltip(ngettext("%d deck updated.", "%d decks updated.", \
|
||||||
|
|
Loading…
Reference in a new issue