Browse Source

kivy: disable password dialog for watching-only wallets

283
ThomasV 9 years ago
parent
commit
faf09da293
  1. 1
      gui/kivy/uix/dialogs/settings.py

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

Loading…
Cancel
Save