Free cookie consent management tool by TermsFeed Policy Generator

Changeset 14640 for trunk/sources


Ignore:
Timestamp:
02/02/17 10:31:23 (8 years ago)
Author:
swagner
Message:

#2726: Fixed fail of ContentViewAttributeTest

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionParameterAnalysisView.cs

    r14638 r14640  
    242242      if (suppressUpdates) return;
    243243
    244       var selectedNode = groupsTreeView.Focused ? groupsTreeView.SelectedNode : parametersTreeView.SelectedNode;
    245244      chart.Series.Clear();
    246245      chart.Legends[0].CustomItems.Clear();
     246      var selectedNode = groupsTreeView.Focused ? groupsTreeView.SelectedNode : parametersTreeView.SelectedNode;
     247      if (selectedNode == null) return;
    247248      if (selectedNode.Parent == null) {
    248249        var series = BuildSeries(selectedNode.Tag as IEnumerable<IRun>, colors[0]);
Note: See TracChangeset for help on using the changeset viewer.