mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-11 00:34:45 -05:00
Merge branch 'save_autoupdate_setting' of https://github.com/mig5/onionshare into mig5-save_autoupdate_setting
This commit is contained in:
commit
53e15096e3
@ -595,6 +595,11 @@ class SettingsDialog(QtWidgets.QDialog):
|
|||||||
if self.connection_type_socket_file_radio.isChecked():
|
if self.connection_type_socket_file_radio.isChecked():
|
||||||
settings.set('connection_type', 'socket_file')
|
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_address', self.connection_type_control_port_extras_address.text())
|
||||||
settings.set('control_port_port', self.connection_type_control_port_extras_port.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())
|
settings.set('socket_file_path', self.connection_type_socket_file_extras_path.text())
|
||||||
|
Loading…
Reference in New Issue
Block a user