mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-27 08:36:05 -04:00
Fix bug when stopping server
This commit is contained in:
parent
6be30d145e
commit
23668baa09
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue