Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/27/10 15:23:46 (13 years ago)
Author:
mkommend
Message:

Corrected behavior of RunCollection and changed minor parts in the views (ticket #1213).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionTabularView.cs

    r4435 r4518  
    8181      DeregisterRunEvents(e.OldItems);
    8282      RegisterRunEvents(e.Items);
    83       OnContentChanged();
    8483    }
    8584    private void Content_ItemsRemoved(object sender, HeuristicLab.Collections.CollectionItemsChangedEventArgs<IRun> e) {
     
    126125        }
    127126      }
     127    }
     128
     129    protected override void ClearSorting() {
     130      base.ClearSorting();
     131      runToRowMapping = new int[Content.Count];
     132      for (int i = 0; i < runToRowMapping.Length; i++)
     133        runToRowMapping[i] = i;
    128134    }
    129135
Note: See TracChangeset for help on using the changeset viewer.