mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-07 06:13:03 -04:00
Merge pull request #756 from mig5/reset_uploads_on_share_restart
Close the upload widget on reset so that it properly disappears from the Uploads window
This commit is contained in:
commit
3743a1b0ec
1 changed files with 1 additions and 0 deletions
|
@ -294,6 +294,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