fix kivy -- virtual keyboard for seed input: chars were not getting enabled
kivy master broke this in kivy/kivy#5537
This commit is contained in:
parent
df9935e6af
commit
a0023791e5
|
@ -613,7 +613,7 @@ class RestoreSeedDialog(WizardDialog):
|
||||||
for c in line.children:
|
for c in line.children:
|
||||||
if isinstance(c, Button):
|
if isinstance(c, Button):
|
||||||
if c.text in 'ABCDEFGHIJKLMNOPQRSTUVWXYZ':
|
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 == ' ':
|
elif c.text == ' ':
|
||||||
c.disabled = not enable_space
|
c.disabled = not enable_space
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue