mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-28 00:39:37 -05:00
Fix comment to reflect what we're doing with the file list buttons
This commit is contained in:
parent
2b15020e7d
commit
cdf14e2600
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user