Changeset 14817 for trunk/sources
- Timestamp:
- 04/04/17 09:34:41 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/CheckedFilterCollectionView.cs
r14185 r14817 21 21 22 22 using System; 23 using System.Windows.Forms;24 23 using HeuristicLab.Core; 25 24 using HeuristicLab.Core.Views; … … 37 36 38 37 protected override void addButton_Click(object sender, EventArgs e) { 39 IFilter filter = new ComparisonFilter(); 40 Content.Add(filter); 41 Content.SetItemCheckedState(filter, false); 38 IFilter filter = CreateItem(); 39 if (filter != null) { 40 Content.Add(filter); 41 Content.SetItemCheckedState(filter, false); 42 } 42 43 } 43 44
Note: See TracChangeset
for help on using the changeset viewer.