Changeset 11093 for trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views/3.4/SymbolicClassificationSolutionView.cs
- Timestamp:
- 07/06/14 14:14:42 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views/3.4/SymbolicClassificationSolutionView.cs
r10540 r11093 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.