- Timestamp:
- 04/02/14 11:51:23 (11 years ago)
- 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 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(); -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/HeuristicLab.DataPreprocessing.Views-3.3.csproj
r10696 r10697 227 227 </ProjectReference> 228 228 </ItemGroup> 229 <ItemGroup>230 <EmbeddedResource Include="FilterView.resx">231 <DependentUpon>FilterView.cs</DependentUpon>232 </EmbeddedResource>233 </ItemGroup>234 229 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 235 230 <PropertyGroup>
Note: See TracChangeset
for help on using the changeset viewer.