Fix a few issues related to opening settings and quitting

This commit is contained in:
Micah Lee 2019-10-27 16:36:32 -07:00
parent a14464d834
commit f4e3f92c7b
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
3 changed files with 13 additions and 13 deletions

View file

@ -237,14 +237,10 @@ class MainWindow(QtWidgets.QMainWindow):
self.website_mode.server_status.autostart_timer_container.hide()
d = SettingsDialog(self.common)
d.settings_saved.connect(reload_settings)
# d.settings_saved.connect(reload_settings)
# TODO: move the reload_settings logic into tabs
d.exec_()
# When settings close, refresh the server status UI
self.share_mode.server_status.update()
self.receive_mode.server_status.update()
self.website_mode.server_status.update()
def check_for_updates(self):
"""
Check for updates in a new thread, if enabled.