mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-08 06:12:50 -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')
|
self.common.log('Uploads', 'reset')
|
||||||
for upload in self.uploads.values():
|
for upload in self.uploads.values():
|
||||||
|
upload.close()
|
||||||
self.uploads_layout.removeWidget(upload)
|
self.uploads_layout.removeWidget(upload)
|
||||||
self.uploads = {}
|
self.uploads = {}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue