- Timestamp:
- 04/19/10 03:28:16 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/ValueParameterCollectionView.cs
r3393 r3407 58 58 if (createParameterDialog.ShowDialog(this) == DialogResult.OK) { 59 59 IValueParameter param = (IValueParameter)createParameterDialog.Parameter; 60 if ( Content.ContainsKey(param.Name))60 if ((param != null) && Content.ContainsKey(param.Name)) 61 61 param = (IValueParameter)Activator.CreateInstance(param.GetType(), GetUniqueName(param.Name), param.Description); 62 62 return param; 63 } else64 63 } 64 return null; 65 65 } 66 66 }
Note: See TracChangeset
for help on using the changeset viewer.