diff --git a/electrum/gui/qt/invoice_list.py b/electrum/gui/qt/invoice_list.py index 1acc866c6..0a56d9376 100644 --- a/electrum/gui/qt/invoice_list.py +++ b/electrum/gui/qt/invoice_list.py @@ -143,6 +143,9 @@ class InvoiceList(MyTreeView): def show_invoice(self, key): invoice = self.wallet.get_invoice(key) + if not invoice: + self.update() + return if invoice.is_lightning(): self.main_window.show_lightning_invoice(invoice) else: