mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
use BUTTON_BG for button background (#2217)
This commit is contained in:
parent
4dc91c6ebf
commit
dd2549564a
1 changed files with 1 additions and 3 deletions
|
@ -293,9 +293,7 @@ class ThemeManager:
|
|||
palette.setColor(QPalette.ColorRole.Window, canvas)
|
||||
palette.setColor(QPalette.ColorRole.AlternateBase, canvas)
|
||||
|
||||
palette.setColor(
|
||||
QPalette.ColorRole.Button, self.qcolor(colors.BUTTON_GRADIENT_START)
|
||||
)
|
||||
palette.setColor(QPalette.ColorRole.Button, self.qcolor(colors.BUTTON_BG))
|
||||
|
||||
input_base = self.qcolor(colors.CANVAS_CODE)
|
||||
palette.setColor(QPalette.ColorRole.Base, input_base)
|
||||
|
|
Loading…
Reference in a new issue