Changeset 9540 for trunk/sources
- Timestamp:
- 05/27/13 15:34:38 (12 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobListView.cs
r9523 r9540 60 60 if (itemsListView.Sorting == sortOrder || sortOrder == SortOrder.None) return; 61 61 ((ListViewItemDateComparer)itemsListView.ListViewItemSorter).Order = sortOrder; 62 base.SortItemsListView(sortOrder); 62 itemsListView.Sorting = sortOrder; 63 itemsListView.Sort(); 63 64 AdjustListViewColumnSizes(); 64 65 } -
trunk/sources/HeuristicLab.Core.Views/3.3/ItemCollectionView.cs
r9523 r9540 407 407 #region Helpers 408 408 protected virtual void SortItemsListView(SortOrder sortOrder) { 409 i f (itemsListView.Sorting == sortOrder || sortOrder == SortOrder.None) return;409 itemsListView.Sorting = SortOrder.None; 410 410 itemsListView.Sorting = sortOrder; 411 itemsListView.Sort ();411 itemsListView.Sorting = SortOrder.None; 412 412 } 413 413 protected virtual void AdjustListViewColumnSizes() {
Note: See TracChangeset
for help on using the changeset viewer.