commit a0023791e5d116ff06b2ae250e858f34d77c5a7d
parent df9935e6af3a8c65b2d5b5f55f77e985d5c4c384
Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 1 Mar 2018 04:32:34 +0100
fix kivy -- virtual keyboard for seed input: chars were not getting enabled
kivy master broke this in kivy/kivy#5537
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/kivy/uix/dialogs/installwizard.py b/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