- Timestamp:
- 12/12/17 16:32:35 (7 years ago)
- Location:
- trunk/sources/HeuristicLab.DataPreprocessing.Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.DataPreprocessing.Views
- Property svn:mergeinfo changed
/branches/DataPreprocessing Cleanup/HeuristicLab.DataPreprocessing.Views (added) merged: 15269-15270,15274,15283,15285,15309,15431,15466,15489
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/ViewShortcutListView.cs
r15110 r15518 42 42 //Clone chart items 43 43 protected override void itemsListView_DoubleClick(object sender, EventArgs e) { 44 if (itemsListView.SelectedItems.Count == 1) { 45 IViewShortcut item = itemsListView.SelectedItems[0].Tag as IViewShortcut; 46 if (item != null) { 47 try { 48 item = (IViewShortcut)item.Clone(); 49 var view = MainFormManager.MainForm.ShowContent(item); 50 if (view != null) { 51 view.ReadOnly = ReadOnly; 52 view.Locked = Locked; 53 } 54 } catch (NullReferenceException) { 55 // cloning for preprocessing not done properly yet 56 } 44 if (itemsListView.SelectedItems.Count != 1) return; 45 IViewShortcut item = itemsListView.SelectedItems[0].Tag as IViewShortcut; 46 if (item == null) return; 47 try { 48 item = (IViewShortcut)item.Clone(); 49 var view = MainFormManager.MainForm.ShowContent(item); 50 if (view != null) { 51 view.ReadOnly = ReadOnly; 52 view.Locked = Locked; 57 53 } 54 } catch (NullReferenceException) { 55 // cloning for preprocessing not done properly yet 58 56 } 59 57 }
Note: See TracChangeset
for help on using the changeset viewer.