From dfb3138d87511a89ab75346a0502fd8ccba1fc29 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Thu, 21 May 2020 19:16:19 +0200 Subject: [PATCH] fix #6168: "'MySortModel' object has no attribute 'item'" --- electrum/gui/qt/invoice_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/gui/qt/invoice_list.py b/electrum/gui/qt/invoice_list.py index 537e64111..86fc2db9a 100644 --- a/electrum/gui/qt/invoice_list.py +++ b/electrum/gui/qt/invoice_list.py @@ -78,7 +78,7 @@ class InvoiceList(MyTreeView): self.update() def update_item(self, key, req): - model = self.model() + model = self.std_model for row in range(0, model.rowCount()): item = model.item(row, 0) if item.data(ROLE_REQUEST_ID) == key: