Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/11/17 17:25:35 (8 years ago)
Author:
mkommend
Message:

#2749: Merged r14770 into stable.

Location:
stable
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Problems.DataAnalysis.Views

  • stable/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/DataAnalysisSolutionView.cs

    r14186 r14848  
    2929using HeuristicLab.MainForm;
    3030using HeuristicLab.Optimization;
    31 using HeuristicLab.Optimization.Views;
    3231using HeuristicLab.Persistence.Default.Xml;
    3332using HeuristicLab.PluginInfrastructure;
     
    9796    }
    9897
    99     protected override void itemsListView_DoubleClick(object sender, EventArgs e) {
     98    protected sealed override void itemsListView_DoubleClick(object sender, EventArgs e) {
    10099      if (itemsListView.SelectedItems.Count != 1) return;
    101100
     
    103102      Type viewType = itemsListView.SelectedItems[0].Tag as Type;
    104103      if (result != null) {
    105         IContentView view = MainFormManager.MainForm.ShowContent(result, typeof(ResultView));
     104        IContentView view = MainFormManager.MainForm.ShowContent(result.Value);
    106105        if (view != null) {
     106          view.Caption = result.Name;
    107107          view.ReadOnly = ReadOnly;
    108108          view.Locked = Locked;
Note: See TracChangeset for help on using the changeset viewer.