From 4b5319bb4e666fdc8d2f07e5e6f2b15a33837866 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Thu, 18 Jan 2018 07:54:19 +1100 Subject: [PATCH] Save the use_autoupdate setting --- onionshare_gui/settings_dialog.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/onionshare_gui/settings_dialog.py b/onionshare_gui/settings_dialog.py index d0d3e6aa..92555700 100644 --- a/onionshare_gui/settings_dialog.py +++ b/onionshare_gui/settings_dialog.py @@ -595,6 +595,11 @@ class SettingsDialog(QtWidgets.QDialog): if self.connection_type_socket_file_radio.isChecked(): settings.set('connection_type', 'socket_file') + if self.autoupdate_checkbox.isChecked(): + settings.set('use_autoupdate', True) + else: + settings.set('use_autoupdate', False) + settings.set('control_port_address', self.connection_type_control_port_extras_address.text()) settings.set('control_port_port', self.connection_type_control_port_extras_port.text()) settings.set('socket_file_path', self.connection_type_socket_file_extras_path.text())