Changeset 6626 for branches/GP.Grammar.Editor/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4
- Timestamp:
- 08/03/11 11:48:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GP.Grammar.Editor/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/SymbolicExpressionGrammarEditorView.cs
r6622 r6626 188 188 Point mouse = symbolsTreeView.PointToClient(new Point(e.X, e.Y)); 189 189 TreeNode node = symbolsTreeView.GetNodeAt(mouse); 190 if (node != null) groupSymbol = node.Tag as GroupSymbol; 191 if (node != null && groupSymbol == null) groupSymbol = node.Parent.Tag as GroupSymbol; 190 if (node == null) return; 191 groupSymbol = node.Tag as GroupSymbol; 192 if (groupSymbol == null) return; 192 193 var symbol = e.Data.GetData(HeuristicLab.Common.Constants.DragDropDataFormat); 193 194 if (symbol == groupSymbol) return;
Note: See TracChangeset
for help on using the changeset viewer.