follow-up

This commit is contained in:
Calin Culianu 2018-12-02 15:20:32 +02:00
parent d2374d62aa
commit 4386799fb0

View file

@ -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))