mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-29 01:06:16 -05:00
Close the upload widget on reset so that it properly disappears from the Uploads window.
This commit is contained in:
parent
06f90b91ce
commit
bf6de202b0
@ -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 = {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user