From 8eb4247ac44d76e5c3d99c97dd9c4a3f0b91f0ef Mon Sep 17 00:00:00 2001 From: SomberNight Date: Tue, 13 Oct 2020 17:19:47 +0200 Subject: [PATCH] kivy: allow setting password for watch-only wallets closes #6622 This has been only disabled for historical reasons: for a long time, wallets in kivy were only keystore-encrypted, but watch-only wallets do not have a keystore. Now they are storage-encrypted so passwords make sense. --- electrum/gui/kivy/uix/dialogs/settings.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/electrum/gui/kivy/uix/dialogs/settings.py b/electrum/gui/kivy/uix/dialogs/settings.py index b7fc3aa58..d2e899f2f 100644 --- a/electrum/gui/kivy/uix/dialogs/settings.py +++ b/electrum/gui/kivy/uix/dialogs/settings.py @@ -18,7 +18,6 @@ Builder.load_string(''' id: settings title: _('Electrum Settings') - disable_password: False has_pin_code: False use_encryption: False BoxLayout: @@ -85,7 +84,6 @@ Builder.load_string(''' action: partial(root.boolean_dialog, 'use_change', _('Use change addresses'), self.message) CardSeparator SettingsItem: - disabled: root.disable_password title: _('Password') description: _("Change wallet password.") action: root.change_password @@ -126,7 +124,6 @@ class SettingsDialog(Factory.Popup): def update(self): self.wallet = self.app.wallet - self.disable_password = self.wallet.is_watching_only() if self.wallet else True self.use_encryption = self.wallet.has_password() if self.wallet else False self.has_pin_code = self.app.has_pin_code()