trezor: fix wipe_device
This commit is contained in:
parent
adf7e250ca
commit
6d33e1a35b
|
@ -401,6 +401,7 @@ class SettingsDialog(WindowModalDialog):
|
||||||
invoke_client('set_pin', remove=True)
|
invoke_client('set_pin', remove=True)
|
||||||
|
|
||||||
def wipe_device():
|
def wipe_device():
|
||||||
|
wallet = window.wallet
|
||||||
if wallet and sum(wallet.get_balance()):
|
if wallet and sum(wallet.get_balance()):
|
||||||
title = _("Confirm Device Wipe")
|
title = _("Confirm Device Wipe")
|
||||||
msg = _("Are you SURE you want to wipe the device?\n"
|
msg = _("Are you SURE you want to wipe the device?\n"
|
||||||
|
|
Loading…
Reference in New Issue