Show the right theme while running tests

This commit is contained in:
Lars Brubaker 2022-08-04 11:39:43 -07:00
parent 4e603a7f0d
commit 4c226457ea
2 changed files with 7 additions and 1 deletions

View file

@ -164,7 +164,10 @@ namespace MatterHackers.MatterControl
var themeConfig = JsonConvert.DeserializeObject<ThemeConfig>(json);
themeConfig.EnsureDefaults();
ThemeConfigExtensions.RebuildTheme(ThemeSet.Theme);
if (ThemeSet?.Theme != null)
{
ThemeConfigExtensions.RebuildTheme(ThemeSet.Theme);
}
return themeConfig;
}

View file

@ -1819,6 +1819,9 @@ Translated:Filament Unloaded
English:Filament Volume
Translated:Filament Volume
English:File
Translated:File
English:File May Cause Problems
Translated:File May Cause Problems