mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-09 01:44:56 -04: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue