Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/28/11 16:15:41 (13 years ago)
Author:
swagner
Message:

Fixed NullReferenceException in collection views when updating the item image of a hidden item (#1377)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemCollectionView.cs

    r5837 r5839  
    184184      T item = listViewItem.Tag as T;
    185185      int i = listViewItem.ImageIndex;
    186       listViewItem.ImageList.Images[i] = item == null ? HeuristicLab.Common.Resources.VSImageLibrary.Nothing : item.ItemImage;
     186      itemsListView.SmallImageList.Images[i] = item == null ? HeuristicLab.Common.Resources.VSImageLibrary.Nothing : item.ItemImage;
    187187      listViewItem.ImageIndex = -1;
    188188      listViewItem.ImageIndex = i;
Note: See TracChangeset for help on using the changeset viewer.