aboutsummaryrefslogtreecommitdiff
path: root/src/qt/transactiontablemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/transactiontablemodel.cpp')
-rw-r--r--src/qt/transactiontablemodel.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp
index eeb948b616..d2cdd4a623 100644
--- a/src/qt/transactiontablemodel.cpp
+++ b/src/qt/transactiontablemodel.cpp
@@ -488,11 +488,7 @@ QVariant TransactionTableModel::data(const QModelIndex &index, int role) const
else if (role == Qt::ForegroundRole)
{
/* Non-confirmed transactions are grey */
- if(rec->status.confirmed)
- {
- return QColor(0, 0, 0);
- }
- else
+ if(!rec->status.confirmed)
{
return QColor(128, 128, 128);
}