Override word_dialog for PIN entry
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user