Fix bug where lack of stealth mode re-enabled v2 legacy checkbox even if persistence was still enabled

This commit is contained in:
Miguel Jacq 2018-09-15 16:07:08 +10:00
parent ab80440a3c
commit dfe18d10fa

View File

@ -463,7 +463,8 @@ class SettingsDialog(QtWidgets.QDialog):
self.hidservauth_copy_button.show()
else:
self.stealth_checkbox.setCheckState(QtCore.Qt.Unchecked)
self.use_legacy_v2_onions_checkbox.setEnabled(True)
if not save_private_key:
self.use_legacy_v2_onions_checkbox.setEnabled(True)
use_autoupdate = self.old_settings.get('use_autoupdate')
if use_autoupdate: