From 4386799fb0f02b785ed5d5c7a225d31a33eafc08 Mon Sep 17 00:00:00 2001 From: Calin Culianu Date: Sun, 2 Dec 2018 15:20:32 +0200 Subject: [PATCH] follow-up --- electrum/gui/qt/utxo_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/gui/qt/utxo_list.py b/electrum/gui/qt/utxo_list.py index 64735de1a..0a6dc3349 100644 --- a/electrum/gui/qt/utxo_list.py +++ b/electrum/gui/qt/utxo_list.py @@ -71,7 +71,7 @@ class UTXOList(MyTreeWidget): txid = selected[0].split(':')[0] tx = self.wallet.transactions.get(txid) 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.exec_(self.viewport().mapToGlobal(position))