diff options
| -rw-r--r-- | cashflow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cashflow.cpp b/cashflow.cpp index f5f8211..f4f6e70 100644 --- a/cashflow.cpp +++ b/cashflow.cpp @@ -589,11 +589,11 @@ void CashFlow::refreshTransactionTable() { recurringItem->setFlags(recurringItem->flags() & ~Qt::ItemIsEditable); ui->transactionTable->setItem(row, recurringCol, recurringItem); - // Color code: Actual=green, Estimated=yellow, Reconciliation=red if mismatch, green if balanced + // Color code: Actual=green, Estimated=yellow, Reconciliation=red if mismatch, blue if balanced QColor rowColor; if (t.type == TransactionType::Reconciliation) { double variance = qAbs(t.expectedBalance - t.calculatedBalance); - rowColor = (variance < 0.01) ? QColor(200, 255, 200) : QColor(255, 200, 200); + rowColor = (variance < 0.01) ? QColor(200, 220, 255) : QColor(255, 200, 200); } else { rowColor = t.type == TransactionType::Actual ? QColor(200, 255, 200) : QColor(255, 255, 200); } |
