mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 08:21:27 +00:00
fix #4330
This commit is contained in:
parent
034b0a0313
commit
864706574b
1 changed files with 8 additions and 2 deletions
|
@ -51,7 +51,10 @@ class RequestList(MyTreeWidget):
|
|||
if not item.isSelected():
|
||||
return
|
||||
addr = str(item.text(1))
|
||||
req = self.wallet.receive_requests[addr]
|
||||
req = self.wallet.receive_requests.get(addr)
|
||||
if req is None:
|
||||
self.update()
|
||||
return
|
||||
expires = age(req['time'] + req['exp']) if req.get('exp') else _('Never')
|
||||
amount = req['amount']
|
||||
message = self.wallet.labels.get(addr, '')
|
||||
|
@ -110,7 +113,10 @@ class RequestList(MyTreeWidget):
|
|||
if not item:
|
||||
return
|
||||
addr = str(item.text(1))
|
||||
req = self.wallet.receive_requests[addr]
|
||||
req = self.wallet.receive_requests.get(addr)
|
||||
if req is None:
|
||||
self.update()
|
||||
return
|
||||
column = self.currentColumn()
|
||||
column_title = self.headerItem().text(column)
|
||||
column_data = item.text(column)
|
||||
|
|
Loading…
Add table
Reference in a new issue