mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
fix #6168: "'MySortModel' object has no attribute 'item'"
This commit is contained in:
parent
717d112b26
commit
dfb3138d87
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class InvoiceList(MyTreeView):
|
||||||
self.update()
|
self.update()
|
||||||
|
|
||||||
def update_item(self, key, req):
|
def update_item(self, key, req):
|
||||||
model = self.model()
|
model = self.std_model
|
||||||
for row in range(0, model.rowCount()):
|
for row in range(0, model.rowCount()):
|
||||||
item = model.item(row, 0)
|
item = model.item(row, 0)
|
||||||
if item.data(ROLE_REQUEST_ID) == key:
|
if item.data(ROLE_REQUEST_ID) == key:
|
||||||
|
|
Loading…
Add table
Reference in a new issue