From 0c94ec2067b3cb7cdb9b22595792b93283a77233 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 14 Dec 2022 18:59:00 +0200 Subject: [PATCH] restore themecolor to default when switching from win98 theme --- files/routes/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/routes/settings.py b/files/routes/settings.py index bff23693c..613c6cea9 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -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