mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
load last deck if args set
This commit is contained in:
parent
5e7769bfed
commit
1001d6b7af
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ class AnkiQt(QMainWindow):
|
|||
self.restoreState(self.config['mainWindowState'])
|
||||
# load deck
|
||||
ui.splash.update()
|
||||
if (self.config['loadLastDeck'] or
|
||||
if (args or self.config['loadLastDeck'] or
|
||||
len(self.config['recentDeckPaths']) == 1) and \
|
||||
not self.maybeLoadLastDeck(args):
|
||||
self.setEnabled(True)
|
||||
|
|
Loading…
Reference in a new issue