From a6567da25956cd1fb462e163438afbfbe8b58875 Mon Sep 17 00:00:00 2001 From: Arthur Milchior Date: Sat, 8 Feb 2020 22:19:37 -0800 Subject: [PATCH] if cards are selected, default is apkg --- qt/aqt/exporting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/exporting.py b/qt/aqt/exporting.py index a97eb7ce3..e95df631a 100644 --- a/qt/aqt/exporting.py +++ b/qt/aqt/exporting.py @@ -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