commit 286df92ba9b05a1eeefc7bcaadccff3bd08a0e6c
parent a9fc440775f997fb80e4f48b5781b1c5d7d48e2b
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 30 Nov 2020 11:07:54 +0100
kivy: cleanup unused code
Diffstat:
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/electrum/gui/kivy/main_window.py b/electrum/gui/kivy/main_window.py
@@ -462,8 +462,8 @@ class ElectrumWindow(App, Logger):
@profiler
def update_tabs(self):
- for tab in ['invoices', 'send', 'history', 'receive', 'address']:
- self.update_tab(tab)
+ for name in ['send', 'history', 'receive']:
+ self.update_tab(name)
def switch_to(self, name):
s = getattr(self, name + '_screen', None)
@@ -824,12 +824,8 @@ class ElectrumWindow(App, Logger):
self.root.manager = self.root.ids['manager']
self.history_screen = None
- self.contacts_screen = None
self.send_screen = None
- self.invoices_screen = None
self.receive_screen = None
- self.requests_screen = None
- self.address_screen = None
self.icon = "electrum/gui/icons/electrum.png"
self.tabs = self.root.ids['tabs']