Remove theme before applying new one

main
Bob Mottram 2020-11-14 18:24:58 +00:00
parent 52284cb1dc
commit 8a2acb5b7a
1 changed files with 1 additions and 0 deletions

View File

@ -1430,6 +1430,7 @@ def setTheme(baseDir: str, name: str, domain: str) -> bool:
result = False
prevThemeName = getTheme(baseDir)
removeTheme(baseDir)
themes = getThemesList(baseDir)
for themeName in themes: