commit dfb3138d87511a89ab75346a0502fd8ccba1fc29
parent 717d112b26c896881aa263f7e1bdba4f7e0c6420
Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 21 May 2020 19:16:19 +0200
fix #6168: "'MySortModel' object has no attribute 'item'"
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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: