From 57108cd0b5fb240f21b1faa398a5e135286162b7 Mon Sep 17 00:00:00 2001 From: pax Date: Sun, 12 Apr 2026 14:55:35 -0500 Subject: [PATCH] info_panel: remove unnecessary f-prefix on plain string --- booru_viewer/gui/info_panel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/booru_viewer/gui/info_panel.py b/booru_viewer/gui/info_panel.py index 2e0d51a..dbb9bab 100644 --- a/booru_viewer/gui/info_panel.py +++ b/booru_viewer/gui/info_panel.py @@ -140,7 +140,7 @@ class InfoPanel(QWidget): color = self._category_color(category) header = QLabel(f"{category}:") header.setStyleSheet( - f"font-weight: bold; margin-top: 6px; margin-bottom: 2px;" + "font-weight: bold; margin-top: 6px; margin-bottom: 2px;" + (f" color: {color};" if color else "") ) self._tags_flow.addWidget(header)