aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-06-17 22:44:15 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-06-17 22:44:15 +0200
commitaa5297266093eccd984a2d8fb20499617ef96c81 (patch)
tree4c5b810295fd78271c241d65cf58cc47139d75ed
parente4347a43b9fb7c0815c18475952297bbedab00a0 (diff)
fix issue #3 (dark theme compat)
-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);
}