tfix #6168: "'MySortModel' object has no attribute 'item'" - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit dfb3138d87511a89ab75346a0502fd8ccba1fc29 DIR parent 717d112b26c896881aa263f7e1bdba4f7e0c6420 HTML Author: SomberNight <somber.night@protonmail.com> Date: Thu, 21 May 2020 19:16:19 +0200 fix #6168: "'MySortModel' object has no attribute 'item'" Diffstat: M electrum/gui/qt/invoice_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum/gui/qt/invoice_list.py b/electrum/gui/qt/invoice_list.py t@@ -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: