diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-09-05 12:23:08 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-09-06 12:12:18 +0200 |
commit | ed4c7fd4fdc1f5b89162d9e91ad57d16205b06eb (patch) | |
tree | e0f8cb449ced2bbe722305360e7d7f4955a6216c /src/qt/transactiontablemodel.cpp | |
parent | d22d9753cc7175a7cf0ce440b96d83277747ecb9 (diff) |
qt: add vout index to transaction id in transactions details dialog
Diffstat (limited to 'src/qt/transactiontablemodel.cpp')
-rw-r--r-- | src/qt/transactiontablemodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp index 9c040d5b63..47ab4bcda6 100644 --- a/src/qt/transactiontablemodel.cpp +++ b/src/qt/transactiontablemodel.cpp @@ -208,7 +208,7 @@ public: std::map<uint256, CWalletTx>::iterator mi = wallet->mapWallet.find(rec->hash); if(mi != wallet->mapWallet.end()) { - return TransactionDesc::toHTML(wallet, mi->second, unit); + return TransactionDesc::toHTML(wallet, mi->second, rec->idx, unit); } } return QString(""); @@ -569,7 +569,7 @@ QVariant TransactionTableModel::data(const QModelIndex &index, int role) const case AmountRole: return rec->credit + rec->debit; case TxIDRole: - return QString::fromStdString(rec->getTxID()); + return rec->getTxID(); case ConfirmedRole: // Return True if transaction counts for balance return rec->status.confirmed && !(rec->type == TransactionRecord::Generated && |