From 622f459c416cb825af8bac9bddb663647a33445f Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 24 Jul 2017 12:04:04 +0200 Subject: [PATCH] kivy: minor fix (switch_to) --- gui/kivy/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/kivy/main_window.py b/gui/kivy/main_window.py index eda143e93..d66ae8867 100644 --- a/gui/kivy/main_window.py +++ b/gui/kivy/main_window.py @@ -330,7 +330,7 @@ class ElectrumWindow(App): def switch_to(self, name): s = getattr(self, name + '_screen', None) - if self.send_screen is None: + if s is None: s = self.tabs.ids[name + '_screen'] s.load_screen() panel = self.tabs.ids.panel