Free cookie consent management tool by TermsFeed Policy Generator

Changeset 14307 for trunk


Ignore:
Timestamp:
09/23/16 16:31:11 (8 years ago)
Author:
pfleck
Message:

#2662 Fixed the event deregistration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionTargetResponseGradientView.cs

    r14267 r14307  
    116116      var variableValues = allowedInputVariables.Select(x => new List<double> { problemData.Dataset.GetDoubleValues(x, problemData.TrainingIndices).Median() });
    117117      if (sharedFixedVariables != null)
    118         sharedFixedVariables.ItemChanged += SharedFixedVariables_ItemChanged;
     118        sharedFixedVariables.ItemChanged -= SharedFixedVariables_ItemChanged;
    119119      sharedFixedVariables = new ModifiableDataset(allowedInputVariables, variableValues);
    120120      // ItemChanged eventhandler is registered later, after creating the gradient charts
Note: See TracChangeset for help on using the changeset viewer.