mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix some add-on installation errors not being reported (#2518)
This commit is contained in:
parent
e100789d24
commit
8d1e5c373b
1 changed files with 1 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue