Free cookie consent management tool by TermsFeed Policy Generator

Changeset 12544


Ignore:
Timestamp:
06/30/15 11:05:23 (9 years ago)
Author:
ehopf
Message:

#2335: Minor fix that activates the Export Problem Button (Defect 7).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessingImprovements/HeuristicLab.DataPreprocessing.Views/3.4/DataPreprocessorStarter.cs

    r12012 r12544  
    4444        IContentView contentView = control as IContentView;
    4545        if (contentView != null) {
    46           algorithm = contentView.Content as IAlgorithm;
    47           problem = contentView.Content as IDataAnalysisProblem;
     46          var newAlgorithm = contentView.Content as IAlgorithm;
     47          if (newAlgorithm != null)
     48            algorithm = newAlgorithm;
     49          var newProblem = contentView.Content as IDataAnalysisProblem;
     50          if (newProblem != null)
     51            problem = newProblem;
    4852        }
    4953        control = control.Parent;
Note: See TracChangeset for help on using the changeset viewer.