Revert "Fix updating primary action and re-enabling drag-n-drop when a share is canceled"

This reverts commit 9da3e2d8b0.
This commit is contained in:
Miguel Jacq 2018-02-25 12:27:20 +11:00
parent e6189494f3
commit 9f0adc0fb9

View File

@ -79,8 +79,6 @@ class OnionShareGui(QtWidgets.QMainWindow):
self.server_status.server_stopped.connect(self.update_server_status_indicator) self.server_status.server_stopped.connect(self.update_server_status_indicator)
self.server_status.server_stopped.connect(self.update_primary_action) self.server_status.server_stopped.connect(self.update_primary_action)
self.server_status.server_canceled.connect(self.cancel_server) self.server_status.server_canceled.connect(self.cancel_server)
self.server_status.server_canceled.connect(self.file_selection.server_stopped)
self.server_status.server_canceled.connect(self.update_primary_action)
self.start_server_finished.connect(self.clear_message) self.start_server_finished.connect(self.clear_message)
self.start_server_finished.connect(self.server_status.start_server_finished) self.start_server_finished.connect(self.server_status.start_server_finished)
self.start_server_finished.connect(self.update_server_status_indicator) self.start_server_finished.connect(self.update_server_status_indicator)