- Timestamp:
- 12/21/21 15:29:18 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/StructureTemplate/StructureTemplateView.cs
r18154 r18164 42 42 private void SymbolicExpressionTreeNodeClicked(object sender, MouseEventArgs e) { 43 43 var visualTreeNode = sender as VisualTreeNode<ISymbolicExpressionTreeNode>; 44 if(visualTreeNode != null) { 45 var subFunctionTreeNode = visualTreeNode.Content as SubFunctionTreeNode; 44 if(visualTreeNode != null && visualTreeNode.Content is SubFunctionTreeNode subFunctionTreeNode) { 46 45 var selectedSubFunction = Content.SubFunctions.Where(x => x.Name == subFunctionTreeNode.Name).FirstOrDefault(); 47 46 if(subFunctionTreeNode != null && selectedSubFunction != null)
Note: See TracChangeset
for help on using the changeset viewer.