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:
Miguel Jacq 2017-12-27 11:37:06 +11:00
parent d7190497cb
commit 4d0ef50fac

View File

@ -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):