URI: 
       tfollow-up prev - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 5fd790dec9a82998153d72e7a4299c36e306c1b0
   DIR parent 1d0fc6665bbd4d2310c20d54e0c8d9fd224c4ca8
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Tue, 21 Jan 2020 11:51:02 +0100
       
       follow-up prev
       
       These lists are only visible when non-empty. This interacts badly with
       tthe internals of maybe_defer_update().
       
       Diffstat:
         M electrum/gui/qt/invoice_list.py     |       3 +--
         M electrum/gui/qt/request_list.py     |       3 +--
       
       2 files changed, 2 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/electrum/gui/qt/invoice_list.py b/electrum/gui/qt/invoice_list.py
       t@@ -94,8 +94,7 @@ class InvoiceList(MyTreeView):
                status_item.setIcon(read_QIcon(pr_icons.get(status)))
        
            def update(self):
       -        if self.maybe_defer_update():
       -            return
       +        # not calling maybe_defer_update() as it interferes with conditional-visibility
                _list = self.parent.wallet.get_invoices()
                # filter out paid invoices unless we have the log
                lnworker_logs = self.parent.wallet.lnworker.logs if self.parent.wallet.lnworker else {}
   DIR diff --git a/electrum/gui/qt/request_list.py b/electrum/gui/qt/request_list.py
       t@@ -107,8 +107,7 @@ class RequestList(MyTreeView):
                        status_item.setIcon(read_QIcon(pr_icons.get(status)))
        
            def update(self):
       -        if self.maybe_defer_update():
       -            return
       +        # not calling maybe_defer_update() as it interferes with conditional-visibility
                self.parent.update_receive_address_styling()
                self.model().clear()
                self.update_headers(self.__class__.headers)