From 50fb2a1cdeba603aa41bf2940a768a3b5ad5fe5d Mon Sep 17 00:00:00 2001 From: RumovZ Date: Thu, 28 Apr 2022 18:09:26 +0200 Subject: [PATCH] Avoid QDialog.exec() --- qt/aqt/import_export/exporting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/import_export/exporting.py b/qt/aqt/import_export/exporting.py index d7858417c..46df79a2c 100644 --- a/qt/aqt/import_export/exporting.py +++ b/qt/aqt/import_export/exporting.py @@ -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]