mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
qt request_list: fix changing between items
This commit is contained in:
parent
f618bb4a67
commit
64b2844e81
1 changed files with 3 additions and 1 deletions
|
@ -94,10 +94,12 @@ class RequestList(MyTreeView):
|
|||
return
|
||||
req = self.parent.get_request_URI(key)
|
||||
elif request_type == REQUEST_TYPE_LN:
|
||||
preimage, req, is_received, pay_timestamp = self.wallet.lnworker.invoices.get(key, (None, None, None))
|
||||
req, is_received = self.wallet.lnworker.invoices.get(key) or (None, None)
|
||||
if req is None:
|
||||
self.update()
|
||||
return
|
||||
else:
|
||||
raise Exception(f"unknown request type: {request_type}")
|
||||
self.parent.receive_address_e.setText(req)
|
||||
|
||||
def update(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue