mirror of
https://github.com/ankitects/anki.git
synced 2025-11-13 16:17:13 -05:00
fix error caused by upgrading deck without queue built
This commit is contained in:
parent
6a286d1eca
commit
58c4e6eb27
1 changed files with 1 additions and 0 deletions
|
|
@ -2838,6 +2838,7 @@ order by priority desc, due desc""")
|
||||||
prog = True
|
prog = True
|
||||||
deck.startProgress()
|
deck.startProgress()
|
||||||
deck.updateProgress(_("Upgrading Deck..."))
|
deck.updateProgress(_("Upgrading Deck..."))
|
||||||
|
deck.rebuildQueue()
|
||||||
else:
|
else:
|
||||||
prog = False
|
prog = False
|
||||||
deck.path = path
|
deck.path = path
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue