Merge pull request #4893 from cculianu/fix_tx_desc_coins_tab
UI: Make Coins Tab -> Details TX Dialog show TX Description (label)
This commit is contained in:
commit
dc46149f1c
@ -71,7 +71,8 @@ class UTXOList(MyTreeWidget):
|
||||
txid = selected[0].split(':')[0]
|
||||
tx = self.wallet.transactions.get(txid)
|
||||
if tx:
|
||||
menu.addAction(_("Details"), lambda: self.parent.show_transaction(tx))
|
||||
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.exec_(self.viewport().mapToGlobal(position))
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user