commit 029c272d57fadb7002d92c8d7c51451b2f1b8704 parent 693897cdcb461295c779a919471b3312f037ca5e Author: ThomasV <thomasv@electrum.org> Date: Sat, 25 Jun 2016 19:00:01 +0200 kivy: fix space key in seed virtual keyboard Diffstat:
M | 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 @@ -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)