Browse Source

UI Pet Peeve: Make Coins Tab -> Details pop up a tx dialog that actually includes the tx description as seen in UTXOList (if available)

3.3.3.1
Calin Culianu 6 years ago
parent
commit
d2374d62aa
  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] txid = selected[0].split(':')[0]
tx = self.wallet.transactions.get(txid) tx = self.wallet.transactions.get(txid)
if tx: if tx:
menu.addAction(_("Details"), lambda: self.parent.show_transaction(tx)) label = self.wallet.get_label(txid)
menu.addAction(_("Details"), lambda: self.parent.show_transaction(tx, label))
menu.exec_(self.viewport().mapToGlobal(position)) menu.exec_(self.viewport().mapToGlobal(position))

Loading…
Cancel
Save