mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Show extension in export dialog
This commit is contained in:
parent
82e056bb5d
commit
8e4b1c6ae8
1 changed files with 3 additions and 1 deletions
|
@ -50,7 +50,9 @@ class ExportDialog(QDialog):
|
|||
|
||||
def setup(self, did: DeckId | None) -> None:
|
||||
self.exporters: list[Type[Exporter]] = [ApkgExporter, ColpkgExporter]
|
||||
self.frm.format.insertItems(0, [e.name() for e in self.exporters])
|
||||
self.frm.format.insertItems(
|
||||
0, [f"{e.name()} (.{e.extension})" for e in self.exporters]
|
||||
)
|
||||
qconnect(self.frm.format.activated, self.exporter_changed)
|
||||
self.exporter_changed(0)
|
||||
# deck list
|
||||
|
|
Loading…
Reference in a new issue