Free cookie consent management tool by TermsFeed Policy Generator

Changeset 9540


Ignore:
Timestamp:
05/27/13 15:34:38 (11 years ago)
Author:
ascheibe
Message:

#2064

  • reverted change in ItemCollectionView
  • adapted sorting in RefreshableHiveJobListView
Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobListView.cs

    r9523 r9540  
    6060      if (itemsListView.Sorting == sortOrder || sortOrder == SortOrder.None) return;
    6161      ((ListViewItemDateComparer)itemsListView.ListViewItemSorter).Order = sortOrder;
    62       base.SortItemsListView(sortOrder);
     62      itemsListView.Sorting = sortOrder;
     63      itemsListView.Sort();
    6364      AdjustListViewColumnSizes();
    6465    }
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemCollectionView.cs

    r9523 r9540  
    407407    #region Helpers
    408408    protected virtual void SortItemsListView(SortOrder sortOrder) {
    409       if (itemsListView.Sorting == sortOrder || sortOrder == SortOrder.None) return;
     409      itemsListView.Sorting = SortOrder.None;
    410410      itemsListView.Sorting = sortOrder;
    411       itemsListView.Sort();
     411      itemsListView.Sorting = SortOrder.None;
    412412    }
    413413    protected virtual void AdjustListViewColumnSizes() {
Note: See TracChangeset for help on using the changeset viewer.