Fixed a potential issue where the downloader window closes but the downloader instance keeps running

This commit is contained in:
Marco Dalla Tiezza
2024-06-13 19:19:21 +02:00
parent 0f898ff6f5
commit 1d0c459402
3 changed files with 101 additions and 96 deletions

View File

@@ -74,9 +74,7 @@ class UIDownloader(QObject):
self.reply.errorOccurred.connect(self.on_error)
else:
self.close_ui.emit()
self.show_popup_error(
self.file.errorString()
)
self.show_popup_error(self.file.errorString())
@Slot()