Browse Source

Merge pull request #4893 from cculianu/fix_tx_desc_coins_tab

UI: Make Coins Tab -> Details TX Dialog show TX Description (label)
3.3.3.1
ThomasV 6 years ago
committed by GitHub
parent
commit
dc46149f1c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      electrum/gui/qt/utxo_list.py

3
electrum/gui/qt/utxo_list.py

@ -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…
Cancel
Save