Don't override theme color on new printer

Either set it to default, or set it the name listed in the OEM settings
This commit is contained in:
Lars Brubaker 2016-08-31 17:32:43 -07:00
parent 2e96441480
commit 102605d535
2 changed files with 1 additions and 11 deletions

View file

@ -426,17 +426,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
}
}
// Set initial theme to current theme
try
{
string name = ThemeIndexNameMapping[ActiveSliceSettings.Instance.GetValue<int>("active_theme_index")];
newProfile.SetValue(SettingsKey.active_theme_name, name);
}
catch
{
}
Instance.Profiles.Add(new PrinterInfo
{
Name = printerName,