diff --git a/MatterControlLib/CustomWidgets/TreeView/TreeView.cs b/MatterControlLib/CustomWidgets/TreeView/TreeView.cs index 6895a4f99..1850fbc81 100644 --- a/MatterControlLib/CustomWidgets/TreeView/TreeView.cs +++ b/MatterControlLib/CustomWidgets/TreeView/TreeView.cs @@ -210,17 +210,6 @@ namespace MatterHackers.MatterControl.CustomWidgets { OnBeforeSelect(null); - if (_selectedNode != null) - { - // Collapse the old tree - foreach (var ancestor in _selectedNode.Parents()) - { - ancestor.Expanded = false; - } - - _selectedNode.Expanded = false; - } - // if the current selection (before change) is !null than clear its background color if (_selectedNode != null) {