Changeset 14029 for branches/crossvalidation-2434/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/VariableCondition.cs
- Timestamp:
- 07/08/16 14:40:02 (8 years ago)
- Location:
- branches/crossvalidation-2434
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/crossvalidation-2434
- Property svn:mergeinfo changed
-
branches/crossvalidation-2434/HeuristicLab.Problems.DataAnalysis.Symbolic
- Property svn:mergeinfo changed
-
branches/crossvalidation-2434/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/VariableCondition.cs
r12012 r14029 100 100 allVariableNames.Clear(); 101 101 allVariableNames.AddRange(value); 102 VariableNames = value;103 102 } 104 103 } … … 149 148 OnChanged(EventArgs.Empty); 150 149 } 150 } 151 } 152 153 public override bool Enabled { 154 get { 155 if (variableNames.Count == 0) return false; 156 return base.Enabled; 157 } 158 set { 159 if (variableNames.Count == 0) base.Enabled = false; 160 else base.Enabled = value; 151 161 } 152 162 }
Note: See TracChangeset
for help on using the changeset viewer.