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:
parent
2e96441480
commit
102605d535
2 changed files with 1 additions and 11 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue