mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
follow-up
This commit is contained in:
parent
d2374d62aa
commit
4386799fb0
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class UTXOList(MyTreeWidget):
|
||||||
txid = selected[0].split(':')[0]
|
txid = selected[0].split(':')[0]
|
||||||
tx = self.wallet.transactions.get(txid)
|
tx = self.wallet.transactions.get(txid)
|
||||||
if tx:
|
if tx:
|
||||||
label = self.wallet.get_label(txid)
|
label = self.wallet.get_label(txid) or None # Prefer None if empty (None hides the Description: field in the window)
|
||||||
menu.addAction(_("Details"), lambda: self.parent.show_transaction(tx, label))
|
menu.addAction(_("Details"), lambda: self.parent.show_transaction(tx, label))
|
||||||
|
|
||||||
menu.exec_(self.viewport().mapToGlobal(position))
|
menu.exec_(self.viewport().mapToGlobal(position))
|
||||||
|
|
Loading…
Add table
Reference in a new issue