Convert some accessors to use GetValue<T>

This commit is contained in:
John Lewin 2016-06-15 17:59:52 -07:00
parent c008234248
commit c0ec29664d
8 changed files with 13 additions and 44 deletions

View file

@ -68,7 +68,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
activeInstance = value;
if (activeInstance != null)
{
BedSettings.SetMakeAndModel(activeInstance.Make, activeInstance.Model);
BedSettings.SetMakeAndModel(activeInstance.GetValue("MatterControl.Make"), activeInstance.GetValue("MatterControl.Model"));
}
SwitchToPrinterTheme(MatterControlApplication.IsLoading);