Browse Source

fix kivy -- virtual keyboard for seed input: chars were not getting enabled

kivy master broke this in kivy/kivy#5537
3.1
SomberNight 7 years ago
parent
commit
a0023791e5
  1. 2
      gui/kivy/uix/dialogs/installwizard.py

2
gui/kivy/uix/dialogs/installwizard.py

@ -613,7 +613,7 @@ class RestoreSeedDialog(WizardDialog):
for c in line.children:
if isinstance(c, Button):
if c.text in 'ABCDEFGHIJKLMNOPQRSTUVWXYZ':
c.disabled = (c.text.lower() not in p) and last_word
c.disabled = (c.text.lower() not in p) and bool(last_word)
elif c.text == ' ':
c.disabled = not enable_space

Loading…
Cancel
Save