Move auto-stop timer into settings, so its UI does not show up unless the user specifically enables that feature

This commit is contained in:
Micah Lee 2018-02-07 09:55:55 -08:00
parent 23668baa09
commit 05633673fc
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
5 changed files with 43 additions and 45 deletions

View file

@ -297,6 +297,9 @@ class OnionShareGui(QtWidgets.QMainWindow):
d.settings_saved.connect(reload_settings)
d.exec_()
# When settings close, refresh the server status UI
self.server_status.update()
def start_server(self):
"""
Start the onionshare server. This uses multiple threads to start the Tor onion