mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
make sure to update priorities on upgrade
This commit is contained in:
parent
1be887872d
commit
107217ca6f
1 changed files with 1 additions and 0 deletions
|
@ -2754,6 +2754,7 @@ where interval < 1""")
|
|||
if deck.version < 27:
|
||||
DeckStorage._addIndices(deck)
|
||||
deck.updateCardTags()
|
||||
deck.updateAllPriorities()
|
||||
deck.version = 27
|
||||
deck.s.commit()
|
||||
if deck.version < 28:
|
||||
|
|
Loading…
Reference in a new issue