Convert Uploads to a QScrollArea also

This commit is contained in:
Micah Lee 2018-09-29 13:47:00 -07:00
parent d87115d21e
commit fa4ebbf263
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
2 changed files with 30 additions and 16 deletions

View file

@ -148,7 +148,7 @@ class DownloadList(QtWidgets.QScrollArea):
Reset the downloads back to zero
"""
for download in self.downloads.values():
self.downloads_layout.removeWidget(download.progress_bar)
self.downloads_layout.removeWidget(download)
download.progress_bar.close()
self.downloads = {}