- Timestamp:
- 07/08/14 19:36:38 (10 years ago)
- Location:
- stable
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 11093
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views merged: 11093
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views/3.4/SymbolicClassificationSolutionView.cs
r11144 r11149 22 22 using System; 23 23 using System.ComponentModel; 24 using System.Linq; 24 25 using System.Windows.Forms; 25 26 using HeuristicLab.MainForm; … … 42 43 protected override void SetEnabledStateOfControls() { 43 44 base.SetEnabledStateOfControls(); 44 btnSimplify.Enabled = Content != null && !Locked ;45 btnSimplify.Enabled = Content != null && !Locked && Content.ProblemData.TrainingIndices.Any(); // simplification is only possible if there are trainings samples 45 46 exportButton.Enabled = Content != null && !Locked; 46 47 } -
stable/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views/3.4/SymbolicDiscriminantFunctionClassificationSolutionView.cs
r11144 r11149 22 22 using System; 23 23 using System.ComponentModel; 24 using System.Linq; 24 25 using System.Windows.Forms; 25 26 using HeuristicLab.MainForm; … … 42 43 protected override void SetEnabledStateOfControls() { 43 44 base.SetEnabledStateOfControls(); 44 btnSimplify.Enabled = Content != null && !Locked ;45 btnSimplify.Enabled = Content != null && !Locked && Content.ProblemData.TrainingIndices.Any(); // simplification is only possible if there are trainings samples 45 46 exportButton.Enabled = Content != null && !Locked; 46 47 }
Note: See TracChangeset
for help on using the changeset viewer.