mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Emit the files_updated signal when deleting files. This will ensure that the share button gets disabled when there are no files in the list
This commit is contained in:
parent
5c390f1bd9
commit
96d758e8e1
@ -229,6 +229,7 @@ class FileSelection(QtWidgets.QVBoxLayout):
|
||||
itemrow = self.file_list.row(item)
|
||||
self.file_list.filenames.pop(itemrow)
|
||||
self.file_list.takeItem(itemrow)
|
||||
self.file_list.files_updated.emit()
|
||||
self.update()
|
||||
|
||||
def server_started(self):
|
||||
|
Loading…
Reference in New Issue
Block a user