From cdf14e2600823b36fcec50ef7cb3dc4af4b98e44 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Wed, 7 Feb 2018 19:18:20 +1100 Subject: [PATCH] Fix comment to reflect what we're doing with the file list buttons --- onionshare_gui/server_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionshare_gui/server_status.py b/onionshare_gui/server_status.py index 1ebe4a2a..036eba35 100644 --- a/onionshare_gui/server_status.py +++ b/onionshare_gui/server_status.py @@ -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()