Don't fire ReloadAll on printer change

- Issue MatterHackers/MCCentral#3326
This commit is contained in:
John Lewin 2018-05-08 13:27:13 -07:00
parent 9f8021263f
commit e35bce1f59

View file

@ -1226,15 +1226,8 @@ namespace MatterHackers.MatterControl
if (globalInstance == null)
{
globalInstance = new ApplicationController();
ActiveSliceSettings.ActivePrinterChanged.RegisterEvent((s, e) =>
{
if (!AppContext.IsLoading)
{
ApplicationController.Instance.ReloadAll();
}
}, ref globalInstance.unregisterEvents);
}
return globalInstance;
}
}