Save the use_autoupdate setting

This commit is contained in:
Miguel Jacq 2018-01-18 07:54:19 +11:00
parent 4261670b59
commit 4b5319bb4e
No known key found for this signature in database
GPG key ID: EEA4341C6D97A0B6

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