Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/15/11 23:02:01 (14 years ago)
Author:
mkommend
Message:

#1479: Merged trunk changes, refactored grammar editor and added copy functionality.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GP.Grammar.Editor/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/VariableView.cs

    r6236 r6415  
    8080    protected override void OnContentChanged() {
    8181      base.OnContentChanged();
    82       variableNamesView.Content.Clear();
    8382      UpdateControl();
    8483    }
     
    105104    private void variableNames_Changed(object sender, CollectionItemsChangedEventArgs<StringValue> args) {
    106105      if (Content != null) {
    107         Content.Changed -= new EventHandler(Content_Changed);
     106        DeregisterContentEvents();
    108107        Content.VariableNames = variableNamesView.Content.CheckedItems.Select(x => x.Value).ToList();
    109         Content.Changed += new EventHandler(Content_Changed);
     108        RegisterContentEvents();
    110109      }
    111110    }
Note: See TracChangeset for help on using the changeset viewer.