Fix theme switching in native style

This commit is contained in:
Matthias Metelka 2023-01-16 09:56:54 +01:00
parent 2529edb78a
commit bc58206a6a

View file

@ -269,6 +269,7 @@ class ThemeManager:
if (
aqt.mw.pm.get_widget_style() == AnkiStyles.NATIVE
and aqt.mw.pm.theme() == Theme.FOLLOW_SYSTEM
or is_mac
and not (qtmajor == 5 or aqt.mw.pm.get_widget_style() == AnkiStyles.ANKI)
):