Changeset 18071 for branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/StructureTemplate
- Timestamp:
- 10/20/21 14:39:46 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/StructureTemplate/StructureTemplateView.cs
r18069 r18071 33 33 if(visualTreeNode != null) { 34 34 var subFunctionTreeNode = visualTreeNode.Content as SubFunctionTreeNode; 35 if( Content.SubFunctions.TryGetValue(subFunctionTreeNode.Name, out SubFunction subFunction))35 if(subFunctionTreeNode != null && Content.SubFunctions.TryGetValue(subFunctionTreeNode.Name, out SubFunction subFunction)) 36 36 viewHost.Content = subFunction; 37 37 } … … 55 55 infoLabel.ForeColor = Color.DarkOrange; 56 56 } 57 58 57 59 58 private void PaintTree() {
Note: See TracChangeset
for help on using the changeset viewer.