Don't fire ReloadAll on printer change
- Issue MatterHackers/MCCentral#3326
This commit is contained in:
parent
9f8021263f
commit
e35bce1f59
1 changed files with 1 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue