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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
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)) |
|
|
|
|
|
|
|