mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
always show deck browser on collection load
This commit is contained in:
parent
083caafd95
commit
1df641da6f
1 changed files with 1 additions and 5 deletions
|
@ -219,11 +219,7 @@ Are you sure?"""):
|
|||
self.col = Collection(self.pm.collectionPath())
|
||||
self.hideSchemaMsg = False
|
||||
self.progress.setupDB(self.col.db)
|
||||
# load overview if a single deck, otherwise deck list
|
||||
if self.col.decks.count() > 1:
|
||||
self.moveToState("deckBrowser")
|
||||
else:
|
||||
self.moveToState("overview")
|
||||
|
||||
def unloadCollection(self):
|
||||
if self.col:
|
||||
|
|
Loading…
Reference in a new issue