Default theme

main
Bob Mottram 2020-05-27 12:02:51 +01:00
parent 0a3188a5da
commit fac462f44b
1 changed files with 5 additions and 4 deletions

View File

@ -261,10 +261,7 @@ def setThemeLight(baseDir: str):
def setTheme(baseDir: str, name: str) -> bool:
result = False
if name == 'default':
setThemeDefault(baseDir)
result = True
elif name == 'purple':
if name == 'purple':
setThemePurple(baseDir)
result = True
elif name == 'light':
@ -276,5 +273,9 @@ def setTheme(baseDir: str, name: str) -> bool:
elif name == 'highvis':
setThemeHighVis(baseDir)
result = True
else:
# default
setThemeDefault(baseDir)
result = True
setCustomFont(baseDir)
return result