- Timestamp:
- 03/17/21 09:13:34 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/ShapeConstraintView.cs
r17902 r17907 45 45 protected override void OnContentChanged() { 46 46 base.OnContentChanged(); 47 this.regionView.Content = Content.Regions; 48 UpdateControls(); 47 if (Content == null) { 48 this.regionView.Content = null; 49 } else { 50 this.regionView.Content = Content.Regions; 51 UpdateControls(); 52 } 49 53 } 50 54 … … 178 182 } 179 183 180 if ((int)numberOfDerivationsComboBox.SelectedItem == 1) 181 Content.NumberOfDerivations = 1; 182 else if ((int)numberOfDerivationsComboBox.SelectedItem == 2) 183 Content.NumberOfDerivations = 2; 184 else if ((int)numberOfDerivationsComboBox.SelectedItem == 3) 185 Content.NumberOfDerivations = 3; 184 if (Content != null) { 185 if ((int)numberOfDerivationsComboBox.SelectedItem == 1) 186 Content.NumberOfDerivations = 1; 187 else if ((int)numberOfDerivationsComboBox.SelectedItem == 2) 188 Content.NumberOfDerivations = 2; 189 else if ((int)numberOfDerivationsComboBox.SelectedItem == 3) 190 Content.NumberOfDerivations = 3; 191 } 186 192 } 187 193
Note: See TracChangeset
for help on using the changeset viewer.