Free cookie consent management tool by TermsFeed Policy Generator

Changeset 6236


Ignore:
Timestamp:
05/19/11 16:10:54 (12 years ago)
Author:
mkommend
Message:

#1531: Updated VariableSymbolView and corrected cloning bug in DataAnalysisProblemData.

Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/VariableView.cs

    r6235 r6236  
    105105    private void variableNames_Changed(object sender, CollectionItemsChangedEventArgs<StringValue> args) {
    106106      if (Content != null) {
     107        Content.Changed -= new EventHandler(Content_Changed);
    107108        Content.VariableNames = variableNamesView.Content.CheckedItems.Select(x => x.Value).ToList();
     109        Content.Changed += new EventHandler(Content_Changed);
    108110      }
    109111    }
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/DataAnalysisProblemData.cs

    r5847 r6236  
    8585    #endregion
    8686
    87     protected DataAnalysisProblemData(DataAnalysisProblemData original, Cloner cloner) : base(original, cloner) { }
     87    protected DataAnalysisProblemData(DataAnalysisProblemData original, Cloner cloner)
     88      : base(original, cloner) {
     89      RegisterEventHandlers();
     90    }
    8891    [StorableConstructor]
    8992    protected DataAnalysisProblemData(bool deserializing) : base(deserializing) { }
Note: See TracChangeset for help on using the changeset viewer.