Fix bug when stopping server

This commit is contained in:
Micah Lee 2018-02-07 09:48:34 -08:00
parent 6be30d145e
commit 23668baa09
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -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()