Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/27/10 18:51:23 (14 years ago)
Author:
mkommend
Message:

corrected tabular view and bubble chart view (ticket #970)

File:
1 edited

Legend:

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

    r3449 r3546  
    100100
    101101    private void dataGridView_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) {
    102       if (e.RowIndex > 0) {
    103         IContentView view = MainFormManager.CreateDefaultView(Content.ElementAt(e.RowIndex));
     102      if (e.RowIndex >= 0) {
     103        IRun run = Content.ElementAt(virtualRowIndizes[e.RowIndex]);
     104        IContentView view = MainFormManager.CreateDefaultView(run);
    104105        if (view != null) {
    105106          view.ReadOnly = this.ReadOnly;
Note: See TracChangeset for help on using the changeset viewer.