trezor: fix wipe_device

This commit is contained in:
ThomasV 2017-01-06 22:32:06 +01:00
parent adf7e250ca
commit 6d33e1a35b
1 changed files with 1 additions and 0 deletions

View File

@ -401,6 +401,7 @@ class SettingsDialog(WindowModalDialog):
invoke_client('set_pin', remove=True)
def wipe_device():
wallet = window.wallet
if wallet and sum(wallet.get_balance()):
title = _("Confirm Device Wipe")
msg = _("Are you SURE you want to wipe the device?\n"