- Timestamp:
- 04/30/10 04:53:40 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/NamedItemCollectionView.cs
r3393 r3561 79 79 } 80 80 protected override IEnumerable<ListViewItem> GetListViewItemsForItem(T item) { 81 return new ListViewItem[] { listViewItemDictionary[item] }; 81 ListViewItem listViewItem = null; 82 listViewItemDictionary.TryGetValue(item, out listViewItem); 83 if (listViewItem != null) return new ListViewItem[] { listViewItem }; 84 else return new ListViewItem[0]; 82 85 } 83 86
Note: See TracChangeset
for help on using the changeset viewer.