mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04: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
|
||||
deck.startProgress()
|
||||
deck.updateProgress(_("Upgrading Deck..."))
|
||||
deck.rebuildQueue()
|
||||
else:
|
||||
prog = False
|
||||
deck.path = path
|
||||
|
|
Loading…
Reference in a new issue