src/trezor/ui/keyboard: don't confirm empty words

pull/25/head
Jan Pochyla 6 years ago
parent b5e142307b
commit 213e1b32ec

@ -110,7 +110,7 @@ class MnemonicKeyboard(ui.Widget):
if self.input.touch(event, pos) == BTN_CLICKED:
# input press, either auto-complete or confirm
if content == word:
if word and content == word:
self.edit('')
return content
else:

Loading…
Cancel
Save