From 86fd963587ce87b56f208daf07714c0f87a8cb08 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sun, 3 May 2026 15:56:44 +0200 Subject: fix: always set explicit foreground color on ArticleItem Without an explicit color for normal articles, Qt reused the foreground from a previously painted item at the same row index, causing published articles to appear amber (draft color). Co-Authored-By: Claude Sonnet 4.6 --- ui/articles_view.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui') diff --git a/ui/articles_view.py b/ui/articles_view.py index 2c52ac8..c965b6a 100644 --- a/ui/articles_view.py +++ b/ui/articles_view.py @@ -77,6 +77,8 @@ class ArticleItem(QListWidgetItem): self.setForeground(QColor("#f59e0b")) elif not article.has_translation: self.setForeground(QColor("#ff6b6b")) + else: + self.setForeground(QColor("#cccccc")) class ArticlesView(QWidget): -- cgit v1.2.3