mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
update initial tag priorities when creating deck
This commit is contained in:
parent
9eca0221f1
commit
f14ad8521d
1 changed files with 1 additions and 0 deletions
|
@ -2299,6 +2299,7 @@ class DeckStorage(object):
|
||||||
DeckStorage._addIndices(deck)
|
DeckStorage._addIndices(deck)
|
||||||
deck.s.statement("analyze")
|
deck.s.statement("analyze")
|
||||||
deck._initVars()
|
deck._initVars()
|
||||||
|
deck.updateTagPriorities()
|
||||||
else:
|
else:
|
||||||
if backup:
|
if backup:
|
||||||
DeckStorage.backup(deck.modified, path)
|
DeckStorage.backup(deck.modified, path)
|
||||||
|
|
Loading…
Reference in a new issue