mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04: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.
|
Update the GUI when the server stops, by showing delete buttons.
|
||||||
"""
|
"""
|
||||||
self.file_list.setAcceptDrops(True)
|
self.setAcceptDrops(True)
|
||||||
self.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
|
self.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
|
||||||
for index in range(self.count()):
|
for index in range(self.count()):
|
||||||
self.item(index).item_button.show()
|
self.item(index).item_button.show()
|
||||||
|
Loading…
Reference in New Issue
Block a user