- Timestamp:
- 01/16/11 03:14:15 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/ItemCollectionView.cs
r5287 r5302 128 128 try { 129 129 return (T)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType(); 130 } catch (Exception ex) { 130 } 131 catch (Exception ex) { 131 132 ErrorHandling.ShowErrorDialog(this, ex); 132 133 } … … 195 196 return listViewItems; 196 197 } else { 197 return itemListViewItemMapping[item]; 198 List<ListViewItem> listViewItems = null; 199 itemListViewItemMapping.TryGetValue(item, out listViewItems); 200 return listViewItems == null ? Enumerable.Empty<ListViewItem>() : listViewItems; 198 201 } 199 202 }
Note: See TracChangeset
for help on using the changeset viewer.