From e35bce1f596a72914907b577f4fe625f5a8601b4 Mon Sep 17 00:00:00 2001 From: John Lewin Date: Tue, 8 May 2018 13:27:13 -0700 Subject: [PATCH] Don't fire ReloadAll on printer change - Issue MatterHackers/MCCentral#3326 --- ApplicationView/ApplicationController.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/ApplicationView/ApplicationController.cs b/ApplicationView/ApplicationController.cs index 3dc0d4590..2e6aa0608 100644 --- a/ApplicationView/ApplicationController.cs +++ b/ApplicationView/ApplicationController.cs @@ -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; } }