forked from rDrama/rDrama
restore themecolor to default when switching from win98 theme
parent
cf14f30200
commit
0c94ec2067
|
@ -321,6 +321,7 @@ def settings_personal_post(v):
|
||||||
theme = request.values.get("theme")
|
theme = request.values.get("theme")
|
||||||
if not updated and theme:
|
if not updated and theme:
|
||||||
if theme in THEMES:
|
if theme in THEMES:
|
||||||
|
if v.theme == "win98": v.themecolor = DEFAULT_COLOR
|
||||||
v.theme = theme
|
v.theme = theme
|
||||||
if theme == "win98": v.themecolor = "30409f"
|
if theme == "win98": v.themecolor = "30409f"
|
||||||
updated = True
|
updated = True
|
||||||
|
|
Loading…
Reference in New Issue