Fix comment to reflect what we're doing with the file list buttons

This commit is contained in:
Miguel Jacq 2018-02-07 19:18:20 +11:00
parent 2b15020e7d
commit cdf14e2600
No known key found for this signature in database
GPG Key ID: 5418373DFF79BA19

View File

@ -178,7 +178,7 @@ class ServerStatus(QtWidgets.QWidget):
self.copy_url_button.hide()
self.copy_hidservauth_button.hide()
# Set the File List widget to readonly while running, so items can't be deleted mid-share
# Hide the FileList delete buttons when a share is running
if self.status == self.STATUS_STARTED or self.status == self.STATUS_WORKING:
for index in range(self.file_selection.file_list.count()):
self.file_selection.file_list.item(index).item_button.hide()