mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-28 00:39:37 -05:00
Fix bug when stopping server
This commit is contained in:
parent
6be30d145e
commit
23668baa09
@ -115,7 +115,7 @@ class FileList(QtWidgets.QListWidget):
|
||||
"""
|
||||
Update the GUI when the server stops, by showing delete buttons.
|
||||
"""
|
||||
self.file_list.setAcceptDrops(True)
|
||||
self.setAcceptDrops(True)
|
||||
self.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
|
||||
for index in range(self.count()):
|
||||
self.item(index).item_button.show()
|
||||
|
Loading…
Reference in New Issue
Block a user