git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
show last few transactions on overview page
[novacoin.git]
/
src
/
qt
/
transactiontablemodel.cpp
diff --git
a/src/qt/transactiontablemodel.cpp
b/src/qt/transactiontablemodel.cpp
index
1606df9
..
458341c
100644
(file)
--- a/
src/qt/transactiontablemodel.cpp
+++ b/
src/qt/transactiontablemodel.cpp
@@
-578,6
+578,10
@@
QVariant TransactionTableModel::data(const QModelIndex &index, int role) const
{
return llabs(rec->credit + rec->debit);
}
+ else if (role == AmountRole)
+ {
+ return rec->credit + rec->debit;
+ }
else if (role == TxIDRole)
{
return QString::fromStdString(rec->getTxID());