info_panel: remove unnecessary f-prefix on plain string
This commit is contained in:
parent
667ee87641
commit
57108cd0b5
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user