We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c08bf6 commit 4907a90Copy full SHA for 4907a90
src/addon/colors.py
@@ -22,7 +22,10 @@ def recolor_python() -> None:
22
replace_color(color_entries, color_name)
23
replace_color(color_entries, "BUTTON_GRADIENT_START", "BUTTON_HOVER")
24
replace_color(color_entries, "BUTTON_GRADIENT_END", "BUTTON_HOVER")
25
- theme_manager.apply_style()
+ # theme_manager.apply_style() doesn't have an effect in 2.1.57+ if the theme and widget style didn't change,
26
+ # so we call the private functions directly
27
+ theme_manager._apply_palette(aqt.mw.app)
28
+ theme_manager._apply_style(aqt.mw.app)
29
_apply_style()
30
31
0 commit comments