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
|
|
@ -111,8 +111,6 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
|
||||
ActiveSliceSettings.SettingChanged.RegisterEvent(CheckSettingChanged, ref unregisterEvents);
|
||||
ApplicationController.Instance.AdvancedControlsPanelReloading.RegisterEvent((s, e) => ClearGCode(), ref unregisterEvents);
|
||||
|
||||
ActiveSliceSettings.ActivePrinterChanged.RegisterEvent(CheckSettingChanged, ref unregisterEvents);
|
||||
}
|
||||
|
||||
private void CheckSettingChanged(object sender, EventArgs e)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue