mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Fix theme switching in native style
This commit is contained in:
parent
2529edb78a
commit
bc58206a6a
1 changed files with 1 additions and 0 deletions
|
@ -269,6 +269,7 @@ class ThemeManager:
|
||||||
|
|
||||||
if (
|
if (
|
||||||
aqt.mw.pm.get_widget_style() == AnkiStyles.NATIVE
|
aqt.mw.pm.get_widget_style() == AnkiStyles.NATIVE
|
||||||
|
and aqt.mw.pm.theme() == Theme.FOLLOW_SYSTEM
|
||||||
or is_mac
|
or is_mac
|
||||||
and not (qtmajor == 5 or aqt.mw.pm.get_widget_style() == AnkiStyles.ANKI)
|
and not (qtmajor == 5 or aqt.mw.pm.get_widget_style() == AnkiStyles.ANKI)
|
||||||
):
|
):
|
||||||
|
|
Loading…
Reference in a new issue