mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
fix placeholder text color on win/lin
This commit is contained in:
parent
58d17a51f3
commit
e2c8dc92c1
1 changed files with 1 additions and 0 deletions
|
@ -241,6 +241,7 @@ QTabWidget {{ background-color: {}; }}
|
|||
palette.setColor(QPalette.ColorRole.ToolTipBase, frame_bg)
|
||||
|
||||
disabled_color = self.qcolor(colors.DISABLED)
|
||||
palette.setColor(QPalette.ColorRole.PlaceholderText, disabled_color)
|
||||
palette.setColor(
|
||||
QPalette.ColorGroup.Disabled, QPalette.ColorRole.Text, disabled_color
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue