Fix some add-on installation errors not being reported (#2518)

This commit is contained in:
Abdo 2023-05-25 06:15:11 +03:00 committed by GitHub
parent e100789d24
commit 8d1e5c373b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))