Fix date column color after update the date

This commit is contained in:
Aurélie Delhaie
2023-01-29 14:12:34 +01:00
parent 693532a802
commit 961dbd8aa0
2 changed files with 8 additions and 2 deletions

View File

@@ -556,6 +556,12 @@ void MainWindow::updateTaskRow(QTreeWidgetItem *item, Task t)
fgColor.setStyle(Qt::BrushStyle::SolidPattern);
item->setForeground(3, fgColor);
}
else
{
QBrush fgColor = item->foreground(3);
fgColor.setStyle(Qt::BrushStyle::NoBrush);
item->setForeground(3, fgColor);
}
if (!t.getStatusUUID().isEmpty())
{