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.Optimization.Views/3.3/RunCollectionView.cs

    r5837 r5839  
    204204      IRun item = listViewItem.Tag as IRun;
    205205      int i = listViewItem.ImageIndex;
    206       listViewItem.ImageList.Images[i] = item == null ? HeuristicLab.Common.Resources.VSImageLibrary.Nothing : item.ItemImage;
     206      itemsListView.SmallImageList.Images[i] = item == null ? HeuristicLab.Common.Resources.VSImageLibrary.Nothing : item.ItemImage;
    207207      listViewItem.ImageIndex = -1;
    208208      listViewItem.ImageIndex = i;
Note: See TracChangeset for help on using the changeset viewer.