Changeset 11416 for stable/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/InteractiveSymbolicExpressionTreeChart.cs
- Timestamp:
- 10/06/14 13:17:52 (9 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 11330,11332
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic.Views
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Views merged: 11332
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/InteractiveSymbolicExpressionTreeChart.cs
r11170 r11416 91 91 } 92 92 93 94 private static readonly ISymbolicExpressionGrammar grammar = new TypeCoherentExpressionGrammar(); 93 95 private void insertNodeToolStripMenuItem_Click(object sender, EventArgs e) { 94 96 if (currSelected == null || currSelected.Content is SymbolicExpressionTreeTerminalNode) return; … … 96 98 97 99 using (var dialog = new InsertNodeDialog()) { 98 dialog.SetAllowedSymbols( parent.Grammar.Symbols.Where(s => !(s is ProgramRootSymbol || s is StartSymbol || s is Defun || s is GroupSymbol))); // allow everything100 dialog.SetAllowedSymbols(grammar.Symbols.Where(s => !(s is ProgramRootSymbol || s is StartSymbol || s is Defun || s is GroupSymbol))); // allow everything 99 101 dialog.ShowDialog(this); 100 102 if (dialog.DialogResult != DialogResult.OK) return;
Note: See TracChangeset
for help on using the changeset viewer.