Free cookie consent management tool by TermsFeed Policy Generator

Changeset 4163


Ignore:
Timestamp:
08/05/10 10:18:58 (12 years ago)
Author:
mkommend
Message:

Corrected RunCollectionView to update the color of cloned Runs (ticket #1125).

File:
1 edited

Legend:

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

    r4099 r4163  
    294294      else {
    295295        RegisterRunEvents(e.Items);
    296         foreach (IRun item in e.Items)
     296        foreach (IRun item in e.Items) {
    297297          AddListViewItem(CreateListViewItem(item));
     298          UpdateRun(item);
     299        }
    298300        analyzeRunsToolStripDropDownButton.Enabled = itemsListView.Items.Count > 0;
    299301        clearButton.Enabled = itemsListView.Items.Count > 0 && !Content.IsReadOnly && !ReadOnly;
     
    329331        }
    330332        RegisterRunEvents(e.Items);
    331         foreach (IRun item in e.Items)
     333        foreach (IRun item in e.Items) {
    332334          AddListViewItem(CreateListViewItem(item));
     335          UpdateRun(item);
     336        }
    333337        analyzeRunsToolStripDropDownButton.Enabled = itemsListView.Items.Count > 0;
    334338        clearButton.Enabled = itemsListView.Items.Count > 0 && !Content.IsReadOnly && !ReadOnly;
Note: See TracChangeset for help on using the changeset viewer.