tkivy: cleanup unused code - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 286df92ba9b05a1eeefc7bcaadccff3bd08a0e6c DIR parent a9fc440775f997fb80e4f48b5781b1c5d7d48e2b HTML Author: ThomasV <thomasv@electrum.org> Date: Mon, 30 Nov 2020 11:07:54 +0100 kivy: cleanup unused code Diffstat: M electrum/gui/kivy/main_window.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) --- DIR diff --git a/electrum/gui/kivy/main_window.py b/electrum/gui/kivy/main_window.py t@@ -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) t@@ -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']