From 8d1e5c373b7763f002eb013c9fd67f6182d40046 Mon Sep 17 00:00:00 2001 From: Abdo Date: Thu, 25 May 2023 06:15:11 +0300 Subject: [PATCH] Fix some add-on installation errors not being reported (#2518) --- qt/aqt/addons.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qt/aqt/addons.py b/qt/aqt/addons.py index 2a2e09b3d..51ba38f63 100644 --- a/qt/aqt/addons.py +++ b/qt/aqt/addons.py @@ -1184,6 +1184,7 @@ class DownloaderInstaller(QObject): def _download_done(self, future: Future) -> None: self.mgr.mw.progress.finish() + future.result() # qt gets confused if on_done() opens new windows while the progress # modal is still cleaning up self.mgr.mw.progress.single_shot(50, lambda: self.on_done(self.log))