restore themecolor to default when switching from win98 theme

pull/66/head
Aevann1 2022-12-14 18:59:00 +02:00
parent cf14f30200
commit 0c94ec2067
1 changed files with 1 additions and 0 deletions

View File

@ -321,6 +321,7 @@ def settings_personal_post(v):
theme = request.values.get("theme")
if not updated and theme:
if theme in THEMES:
if v.theme == "win98": v.themecolor = DEFAULT_COLOR
v.theme = theme
if theme == "win98": v.themecolor = "30409f"
updated = True