mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -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.col = Collection(self.pm.collectionPath())
|
||||||
self.hideSchemaMsg = False
|
self.hideSchemaMsg = False
|
||||||
self.progress.setupDB(self.col.db)
|
self.progress.setupDB(self.col.db)
|
||||||
# load overview if a single deck, otherwise deck list
|
self.moveToState("deckBrowser")
|
||||||
if self.col.decks.count() > 1:
|
|
||||||
self.moveToState("deckBrowser")
|
|
||||||
else:
|
|
||||||
self.moveToState("overview")
|
|
||||||
|
|
||||||
def unloadCollection(self):
|
def unloadCollection(self):
|
||||||
if self.col:
|
if self.col:
|
||||||
|
|
Loading…
Reference in a new issue