kivy: disable password dialog for watching-only wallets

This commit is contained in:
ThomasV 2016-03-05 05:24:44 +01:00
parent 5d7164f16f
commit faf09da293
1 changed files with 1 additions and 0 deletions

View File

@ -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)