electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit dc46149f1c83fb1637e91c13cfedf502bf74c700
parent 74f6ac27af74b5e2a81bd98e3f883a946720fdef
Author: ThomasV <thomasv@electrum.org>
Date:   Mon,  3 Dec 2018 09:08:30 +0100

Merge pull request #4893 from cculianu/fix_tx_desc_coins_tab

UI: Make Coins Tab -> Details TX Dialog show TX Description (label)
Diffstat:
Melectrum/gui/qt/utxo_list.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/electrum/gui/qt/utxo_list.py b/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))