Avoid QDialog.exec()

This commit is contained in:
RumovZ 2022-04-28 18:09:26 +02:00
parent 5e1b5d3586
commit 50fb2a1cde

View file

@ -45,7 +45,7 @@ class ExportDialog(QDialog):
self.nids = nids
disable_help_button(self)
self.setup(did)
self.exec()
self.open()
def setup(self, did: DeckId | None) -> None:
self.exporters: list[Type[Exporter]] = [ApkgExporter, ColpkgExporter]