diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-09-06 04:21:45 -0700 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-09-06 04:21:45 -0700 |
commit | 495242c1adff8832d7d30b920aa71f31dd63a2a6 (patch) | |
tree | 68fc6fb4f9c04f80a94dc4100d66e9245d64a0da /src/qt/transactiontablemodel.cpp | |
parent | 9d6b60cf50ffcf2cd35659afa1a7f5dd5bfa06e3 (diff) | |
parent | ed4c7fd4fdc1f5b89162d9e91ad57d16205b06eb (diff) |
Merge pull request #2976 from laanwj/2013_09_txid_details
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 d27288b6f1..07f6a62150 100644 --- a/src/qt/transactiontablemodel.cpp +++ b/src/qt/transactiontablemodel.cpp @@ -210,7 +210,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(""); @@ -571,7 +571,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 && |