if cards are selected, default is apkg

This commit is contained in:
Arthur Milchior 2020-02-08 22:19:37 -08:00
parent b5fed631d5
commit a6567da259

View File

@ -30,7 +30,7 @@ class ExportDialog(QDialog):
self.exporters = exporters()
# if a deck specified, start with .apkg type selected
idx = 0
if did:
if did or self.cids:
for c, (k, e) in enumerate(self.exporters):
if e.ext == ".apkg":
idx = c