Changeset 9821 for trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/SymbolicExpressionView.cs
- Timestamp:
- 07/31/13 10:17:37 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/SymbolicExpressionView.cs
r9456 r9821 31 31 [Content(typeof(ISymbolicExpressionTree), false)] 32 32 public partial class SymbolicExpressionView : AsynchronousContentView { 33 34 List<ISymbolicExpressionTreeStringFormatter> treeFormattersList = new List<ISymbolicExpressionTreeStringFormatter>(); 33 private readonly List<ISymbolicExpressionTreeStringFormatter> treeFormattersList = new List<ISymbolicExpressionTreeStringFormatter>(); 35 34 36 35 public new ISymbolicExpressionTree Content { … … 48 47 } 49 48 if (formattersComboBox.Items.Count > 0) 50 formattersComboBox.SelectedIndex = 0;49 formattersComboBox.SelectedIndex = treeFormattersList.FindIndex(0, treeFormattersList.Count, (f) => f.Name.Contains("Default")); 51 50 else 52 51 formattersComboBox.SelectedIndex = -1;
Note: See TracChangeset
for help on using the changeset viewer.