commit faf09da2932cc3ec1e75afe115176bda9add44cb
parent 5d7164f16f24380e7255fc430dda196b433b0b72
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 5 Mar 2016 05:24:44 +0100
kivy: disable password dialog for watching-only wallets
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/gui/kivy/uix/dialogs/settings.py b/gui/kivy/uix/dialogs/settings.py
@@ -66,6 +66,7 @@ Builder.load_string('''
height: '48dp'
SettingsItem:
status: 'ON' if app.wallet.use_encryption else 'OFF'
+ disabled: app.wallet.is_watching_only()
title: _('PIN code') + ': ' + self.status
description: _("Change your PIN code.")
action: partial(root.change_password, self)