Override word_dialog for PIN entry
This commit is contained in:
parent
d4b84d6da1
commit
1c8e39b635
|
@ -35,3 +35,11 @@ class BTChipQTHandler(QtHandlerBase):
|
|||
def __init__(self, win):
|
||||
super(BTChipQTHandler, self).__init__(win, 'Ledger')
|
||||
|
||||
|
||||
def word_dialog(self, msg):
|
||||
response = QInputDialog.getText(self.top_level_window(), "Ledger Wallet Authentication", msg, QLineEdit.Password)
|
||||
if not response[1]:
|
||||
self.word = None
|
||||
else:
|
||||
self.word = str(response[0])
|
||||
self.done.set()
|
||||
|
|
Loading…
Reference in New Issue