commit 622f459c416cb825af8bac9bddb663647a33445f
parent d5d5e8af5c77760e8e20a5565388b9acc337279b
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 24 Jul 2017 12:04:04 +0200
kivy: minor fix (switch_to)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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