From 029c272d57fadb7002d92c8d7c51451b2f1b8704 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 25 Jun 2016 19:00:01 +0200 Subject: [PATCH] kivy: fix space key in seed virtual keyboard --- gui/kivy/uix/dialogs/installwizard.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gui/kivy/uix/dialogs/installwizard.py b/gui/kivy/uix/dialogs/installwizard.py index 3a02f144d..2466f98ea 100644 --- a/gui/kivy/uix/dialogs/installwizard.py +++ b/gui/kivy/uix/dialogs/installwizard.py @@ -543,11 +543,11 @@ class RestoreSeedDialog(WizardDialog): enable_space = False self.ids.suggestions.clear_widgets() suggestions = [x for x in self.get_suggestions(last_word)] - if suggestions and len(suggestions) < 10: - for w in suggestions: - if w == last_word: - enable_space = True - else: + for w in suggestions: + if w == last_word: + enable_space = True + else: + if len(suggestions) < 10: b = WordButton(text=w) self.ids.suggestions.add_widget(b)