mirror of
https://github.com/ankitects/anki.git
synced 2025-12-20 10:22:57 -05:00
if cards are selected, default is apkg
This commit is contained in:
parent
b5fed631d5
commit
a6567da259
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ class ExportDialog(QDialog):
|
||||||
self.exporters = exporters()
|
self.exporters = exporters()
|
||||||
# if a deck specified, start with .apkg type selected
|
# if a deck specified, start with .apkg type selected
|
||||||
idx = 0
|
idx = 0
|
||||||
if did:
|
if did or self.cids:
|
||||||
for c, (k, e) in enumerate(self.exporters):
|
for c, (k, e) in enumerate(self.exporters):
|
||||||
if e.ext == ".apkg":
|
if e.ext == ".apkg":
|
||||||
idx = c
|
idx = c
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue