From 0143c7c5a06b8ab8b0ec8d77459b34d3cc574316 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 5 Apr 2022 12:14:37 +0100 Subject: [PATCH] Setting theme values --- theme.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/theme.py b/theme.py index 3b6aac549..d58fabb8a 100644 --- a/theme.py +++ b/theme.py @@ -867,7 +867,8 @@ def set_theme(base_dir: str, name: str, domain: str, theme_name_lower = theme_name.lower() if name == theme_name_lower: if prev_theme_name: - if prev_theme_name.lower() != theme_name_lower: + if prev_theme_name.lower() != theme_name_lower or \ + designer_reset: # change the banner and profile image # to the default for the theme _set_theme_images(base_dir, name)