Ignore:
Timestamp:
06/11/14 10:53:07 (7 years ago)
Author:
aesterer
Message:

Implemented cloning constructor for chart contents

File:
1 edited

Legend:

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

    r10952 r10967  
    2121
    2222using System;
     23using HeuristicLab.Common;
    2324using HeuristicLab.Core;
    2425using HeuristicLab.Core.Views;
     
    3536    }
    3637
     38    //Open item in new tab on double click
     39    //Clone chart items
    3740    protected override void itemsListView_DoubleClick(object sender, EventArgs e) {
    3841      if (itemsListView.SelectedItems.Count == 1) {
     
    4144
    4245          if (item is IViewChartShortcut)
    43             item = (IViewChartShortcut)item.Clone();
     46            item = (IViewChartShortcut)item.Clone(new Cloner());
    4447
    4548          IContentView view = MainFormManager.MainForm.ShowContent(item);
Note: See TracChangeset for help on using the changeset viewer.