Changeset 12504 for trunk/sources/HeuristicLab.Optimizer
- Timestamp:
- 06/25/15 10:30:06 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimizer/3.3/NewItemDialog.cs
r12401 r12504 96 96 foreach (var category in categories) { 97 97 var fullName = category.Key; 98 var tokens = fullName.Split( '#');98 var tokens = fullName.Split(new[] { CreatableAttribute.Categories.Splitter }, StringSplitOptions.RemoveEmptyEntries); 99 99 var name = tokens.Last(); 100 100 var parents = tokens.Take(tokens.Length - 1); … … 165 165 SelectedType = null; 166 166 typesTreeView.SelectedNode = null; 167 typesTreeView.CollapseAll();168 167 UpdateDescription(); 168 169 foreach (TreeNode node in typesTreeView.Nodes) 170 node.Expand(); 171 typesTreeView.Nodes[0].EnsureVisible(); 169 172 } 170 173
Note: See TracChangeset
for help on using the changeset viewer.