tfollow-up previous commit - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 25626cf23b0134edbef497dab0eefa3cbe79cda8 (DIR) parent 958898280e5801618cec7e28d8b4f9ec3e76731a (HTM) Author: ThomasV <thomasv@electrum.org> Date: Sat, 7 Mar 2020 23:18:08 +0100 follow-up previous commit Diffstat: M electrum/gui/kivy/uix/screens.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- (DIR) diff --git a/electrum/gui/kivy/uix/screens.py b/electrum/gui/kivy/uix/screens.py t@@ -220,7 +220,9 @@ class SendScreen(CScreen): self.is_lightning = True def update(self): - if self.app.wallet and self.payment_request_queued: + if self.app.wallet is None: + return + if self.payment_request_queued: self.set_URI(self.payment_request_queued) self.payment_request_queued = None _list = self.app.wallet.get_invoices() t@@ -491,6 +493,8 @@ class ReceiveScreen(CScreen): return ci def update(self): + if self.app.wallet is None: + return _list = self.app.wallet.get_sorted_requests() _list.reverse() requests_container = self.ids.requests_container