Changeset 4295


Ignore:
Timestamp:
08/23/10 17:34:24 (12 years ago)
Author:
mkommend
Message:

Added null check before event registration (ticket #1028).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/DataAnalysisProblemData.cs

    r4291 r4295  
    247247    }
    248248    private void TargetVariableParameter_ValueChanged(object sender, EventArgs e) {
    249       RegisterStringValueEventHandlers(TargetVariable);
    250       if (TargetVariable != null) OnProblemDataChanged(EventArgs.Empty);
     249      if (TargetVariable != null) {
     250        RegisterStringValueEventHandlers(TargetVariable);
     251        OnProblemDataChanged(EventArgs.Empty);
     252      }
    251253    }
    252254    private void TrainingSamplesStartParameter_ValueChanged(object sender, EventArgs e) {
Note: See TracChangeset for help on using the changeset viewer.