Skip to content

Commit a7cf236

Browse files
authored
Fix stylesheet bug (#1800)
2 parents af8af45 + f22197d commit a7cf236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

novelwriter/gui/search.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def updateTheme(self) -> None:
161161
colBase = cssCol(qPalette.base().color())
162162
colFocus = cssCol(qPalette.highlight().color())
163163

164-
self.headerWidget.setStyleSheet(f"background: {colBase};")
164+
self.headerWidget.setStyleSheet(f"QWidget {{background: {colBase};}}")
165165
self.headerWidget.setAutoFillBackground(True)
166166

167167
self.setStyleSheet(

0 commit comments

Comments
 (0)