Close the upload widget on reset so that it properly disappears from the Uploads window.

This commit is contained in:
Miguel Jacq 2018-09-18 11:51:32 +10:00
parent 06f90b91ce
commit bf6de202b0
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

View File

@ -290,6 +290,7 @@ class Uploads(QtWidgets.QScrollArea):
"""
self.common.log('Uploads', 'reset')
for upload in self.uploads.values():
upload.close()
self.uploads_layout.removeWidget(upload)
self.uploads = {}