Assign current theme to new printers

- Issue #1158
This commit is contained in:
John Lewin 2016-07-24 07:48:42 -07:00
parent 1e57909497
commit 063ac60ec9

View file

@ -352,6 +352,9 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
}
}
// Set initial theme to current theme
newProfile.SetValue(SettingsKey.active_theme_index, ActiveSliceSettings.Instance.GetValue(SettingsKey.active_theme_index));
Instance.Profiles.Add(new PrinterInfo
{
Name = printerName,