From 23668baa09e44f8c37558659543d4d5ef3a34a93 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Wed, 7 Feb 2018 09:48:34 -0800 Subject: [PATCH] Fix bug when stopping server --- onionshare_gui/file_selection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionshare_gui/file_selection.py b/onionshare_gui/file_selection.py index 9198ebc6..d52fd017 100644 --- a/onionshare_gui/file_selection.py +++ b/onionshare_gui/file_selection.py @@ -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()