Working to reduce theme changed calls as they will reload all after.

same for on active printer changed
This commit is contained in:
Lars Brubaker 2016-12-08 17:40:04 -08:00
parent 9bb75473ae
commit d23a567307
16 changed files with 5 additions and 73 deletions

View file

@ -202,8 +202,6 @@ namespace MatterHackers.MatterControl
QueueData.Instance.ItemAdded.RegisterEvent(NumQueueItemsChanged, ref unregisterEvents);
QueueData.Instance.ItemRemoved.RegisterEvent(NumQueueItemsChanged, ref unregisterEvents);
ActiveSliceSettings.ActivePrinterChanged.RegisterEvent((s, e) => ApplicationController.Instance.ReloadAdvancedControlsPanel(), ref unregisterEvents);
PrinterConnectionAndCommunication.Instance.ActivePrintItemChanged.RegisterEvent((s, e) =>
{
// ReloadPartPreview