Changeset 10697 for branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/FilterView.cs
- Timestamp:
- 04/02/14 11:51:23 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/FilterView.cs
r10696 r10697 44 44 private void Content_CheckedItemsChanged(object sender, Collections.CollectionItemsChangedEventArgs<IFilter> e) 45 45 { 46 //change active state of filters46 47 47 foreach (IFilter filter in e.Items) 48 48 { 49 filter.Active = !filter.Active; 49 if (!filter.Active && (filter.ConstrainedValue == null || filter.ConstraintData == null || filter.ConstraintOperation == null)) 50 { 51 filterView.Content.SetItemCheckedState(filter, false); 52 } 53 else //change active state of filters 54 { 55 filter.Active = !filter.Active; 56 } 50 57 } 51 58 UpdateFilterInfo();
Note: See TracChangeset
for help on using the changeset viewer.