Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/02/14 11:51:23 (10 years ago)
Author:
psteiner
Message:
 
Location:
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/FilterView.cs

    r10696 r10697  
    4444    private void Content_CheckedItemsChanged(object sender, Collections.CollectionItemsChangedEventArgs<IFilter> e)
    4545    {
    46       //change active state of filters
     46     
    4747      foreach (IFilter filter in e.Items)
    4848      {
    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        }
    5057      }
    5158      UpdateFilterInfo();
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/HeuristicLab.DataPreprocessing.Views-3.3.csproj

    r10696 r10697  
    227227    </ProjectReference>
    228228  </ItemGroup>
    229   <ItemGroup>
    230     <EmbeddedResource Include="FilterView.resx">
    231       <DependentUpon>FilterView.cs</DependentUpon>
    232     </EmbeddedResource>
    233   </ItemGroup>
    234229  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    235230  <PropertyGroup>
Note: See TracChangeset for help on using the changeset viewer.