Working to reduce theme changed calls as they will reload all after.
same for on active printer changed
This commit is contained in:
parent
9bb75473ae
commit
d23a567307
16 changed files with 5 additions and 73 deletions
|
|
@ -133,7 +133,6 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
PrinterConnectionAndCommunication.Instance.ActivePrintItemChanged.RegisterEvent(Instance_PrintItemChanged, ref unregisterEvents);
|
||||
PrinterConnectionAndCommunication.Instance.CommunicationStateChanged.RegisterEvent(Instance_PrintItemChanged, ref unregisterEvents);
|
||||
ActiveTheme.ThemeChanged.RegisterEvent(ThemeChanged, ref unregisterEvents);
|
||||
|
||||
SetThemedColors();
|
||||
UpdatePrintStatus();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue