Made the tree view remember the open state close state

This commit is contained in:
Lars Brubaker 2018-12-11 16:20:42 -08:00
parent d1adc0cb72
commit b23db9f1e1
3 changed files with 14 additions and 2 deletions

View file

@ -91,6 +91,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
expandWidget.Click += (s, e) =>
{
this.Expanded = !this.Expanded;
this.ExpandedChanged?.Invoke(this, null);
expandWidget.Expanded = this.Expanded;
};