- Timestamp:
- 12/09/11 13:11:09 (13 years ago)
- Location:
- trunk/sources/HeuristicLab.Core.Views/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/ItemArrayView.cs
r5928 r7161 400 400 foreach (IndexedItem<T> item in e.Items) { 401 401 ListViewItem listViewItem = itemsListView.Items[item.Index]; 402 if (listViewItem.Tag != null) 403 itemListViewItemMapping[(T)listViewItem.Tag].Remove(listViewItem); 402 404 listViewItem.Tag = item.Value; 405 if (listViewItem.Tag != null) 406 itemListViewItemMapping[item.Value].Add(listViewItem); 403 407 UpdateListViewItemImage(listViewItem); 404 408 UpdateListViewItemText(listViewItem); -
trunk/sources/HeuristicLab.Core.Views/3.3/ItemListView.cs
r6527 r7161 441 441 foreach (IndexedItem<T> item in e.Items) { 442 442 ListViewItem listViewItem = itemsListView.Items[item.Index]; 443 if (listViewItem.Tag != null) 444 itemListViewItemMapping[(T)listViewItem.Tag].Remove(listViewItem); 443 445 listViewItem.Tag = item.Value; 446 if (listViewItem.Tag != null) 447 itemListViewItemMapping[item.Value].Add(listViewItem); 444 448 UpdateListViewItemImage(listViewItem); 445 449 UpdateListViewItemText(listViewItem);
Note: See TracChangeset
for help on using the changeset viewer.