From a0023791e5d116ff06b2ae250e858f34d77c5a7d Mon Sep 17 00:00:00 2001 From: SomberNight Date: Thu, 1 Mar 2018 04:32:34 +0100 Subject: [PATCH] fix kivy -- virtual keyboard for seed input: chars were not getting enabled kivy master broke this in kivy/kivy#5537 --- gui/kivy/uix/dialogs/installwizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/kivy/uix/dialogs/installwizard.py b/gui/kivy/uix/dialogs/installwizard.py index 65181090..da76ef75 100644 --- 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