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:
SomberNight 2018-03-01 04:32:34 +01:00
parent df9935e6af
commit a0023791e5
1 changed files with 1 additions and 1 deletions

View File

@ -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