- Timestamp:
- 05/30/11 17:31:53 (13 years ago)
- Location:
- branches/histogram
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/histogram
- Property svn:mergeinfo changed
/trunk/sources merged: 6201,6205,6207-6209,6223,6233-6241,6250,6252,6254-6256,6259,6262,6265,6291,6298,6302
- Property svn:mergeinfo changed
-
branches/histogram/HeuristicLab.Parameters.Views/3.3/ValueParameterView.cs
r5837 r6340 104 104 base.SetEnabledStateOfControls(); 105 105 setValueButton.Enabled = Content != null && !(Content is IFixedValueParameter) && !ReadOnly; 106 clearValueButton.Enabled = Content != null && Content.Value != null && !(Content is IFixedValueParameter) && ! ReadOnly;106 clearValueButton.Enabled = Content != null && Content.Value != null && !(Content is IFixedValueParameter) && !(Content is ValueParameter<T>) && !ReadOnly; 107 107 showInRunCheckBox.Enabled = Content != null && !ReadOnly; 108 108 } … … 114 114 SetDataTypeTextBoxText(); 115 115 setValueButton.Enabled = Content != null && !(Content is IFixedValueParameter) && !ReadOnly; 116 clearValueButton.Enabled = Content != null && Content.Value != null && !(Content is IFixedValueParameter<T>) && ! ReadOnly;116 clearValueButton.Enabled = Content != null && Content.Value != null && !(Content is IFixedValueParameter<T>) && !(Content is ValueParameter<T>) && !ReadOnly; 117 117 valueViewHost.ViewType = null; 118 118 valueViewHost.Content = Content != null ? Content.Value : null;
Note: See TracChangeset
for help on using the changeset viewer.