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 25eed81b00
commit 30ee2290d7
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

View File

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