aboutsummaryrefslogtreecommitdiff
path: root/src/qt/transactiontablemodel.cpp
diff options
context:
space:
mode:
authorCozz Lovan <cozzlovan@yahoo.com>2014-04-24 22:21:45 +0200
committerCozz Lovan <cozzlovan@yahoo.com>2014-04-25 20:01:20 +0200
commit40c5b939f2bff960e397da6ae3651952adc68cbe (patch)
tree2e6ce47bb89c7daa525858cf6e965495f6088426 /src/qt/transactiontablemodel.cpp
parent4765b8c11679aeb76efd9ce907a5c17661d4b018 (diff)
[Qt] Optionally add third party links to transaction context menu
Diffstat (limited to 'src/qt/transactiontablemodel.cpp')
-rw-r--r--src/qt/transactiontablemodel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp
index df412650d8..8cf2b0a1b1 100644
--- a/src/qt/transactiontablemodel.cpp
+++ b/src/qt/transactiontablemodel.cpp
@@ -564,6 +564,8 @@ QVariant TransactionTableModel::data(const QModelIndex &index, int role) const
return rec->credit + rec->debit;
case TxIDRole:
return rec->getTxID();
+ case TxHashRole:
+ return QString::fromStdString(rec->hash.ToString());
case ConfirmedRole:
return rec->status.countsForBalance;
case FormattedAmountRole: