Browse Source

follow-up prev

3.3.3.1
SomberNight 6 years ago
parent
commit
20957ac4d9
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/gui/qt/history_list.py
  2. 3
      electrum/gui/qt/utxo_list.py

2
electrum/gui/qt/history_list.py

@ -297,6 +297,8 @@ class HistoryList(MyTreeWidget, AcceptFileDragDrop):
else:
tx_hash = item.data(0, Qt.UserRole)
tx = self.wallet.transactions.get(tx_hash)
if not tx:
return
self.parent.show_transaction(tx)
def update_labels(self):

3
electrum/gui/qt/utxo_list.py

@ -68,7 +68,8 @@ class UTXOList(MyTreeWidget):
if len(selected) == 1:
txid = selected[0].split(':')[0]
tx = self.wallet.transactions.get(txid)
menu.addAction(_("Details"), lambda: self.parent.show_transaction(tx))
if tx:
menu.addAction(_("Details"), lambda: self.parent.show_transaction(tx))
menu.exec_(self.viewport().mapToGlobal(position))

Loading…
Cancel
Save