1
0

Trezor: Implement resetting a device

This commit is contained in:
Neil Booth
2016-01-03 13:32:33 +09:00
parent 13154d4ce7
commit 87363c8301
5 changed files with 89 additions and 13 deletions

View File

@@ -59,7 +59,8 @@ class QtHandler(PrintError):
return self.passphrase
def pin_dialog(self, msg):
# Needed e.g. when renaming label and haven't entered PIN
# Needed e.g. when resetting a device
self.clear_dialog()
dialog = WindowModalDialog(self.window_stack[-1], _("Enter PIN"))
matrix = self.pin_matrix_widget_class()
vbox = QVBoxLayout()