Merge branch 'save_autoupdate_setting' of https://github.com/mig5/onionshare into mig5-save_autoupdate_setting

This commit is contained in:
Micah Lee 2018-01-17 16:02:03 -08:00
commit 53e15096e3
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -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())