Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/02/10 13:38:43 (14 years ago)
Author:
mkommend
Message:

Fixed StringConvertibleMatrix and RunCollectionTabularView to handle filter columns correctly (ticket #1251).

File:
1 edited

Legend:

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

    r4518 r4707  
    8888          columnNamesChanged |= AddResult(result.Key, result.Value);
    8989      }
    90       if (columnNamesChanged) {
    91         columnNameCache = null;
    92         OnColumnNamesChanged();
    93       }
     90      if (columnNamesChanged) columnNameCache = null;
    9491      rowNamesCache = null;
    9592      base.OnItemsAdded(items);
     93      OnReset();
    9694      OnRowNamesChanged();
    97       OnReset();
     95      if (columnNamesChanged) OnColumnNamesChanged();
    9896      UpdateFiltering(false);
    9997    }
     
    106104          columnNamesChanged |= RemoveResultName(resultName);
    107105      }
    108       if (columnNamesChanged) {
    109         columnNameCache = null;
    110         OnColumnNamesChanged();
    111       }
     106      if (columnNamesChanged) columnNameCache = null;
    112107      rowNamesCache = null;
    113108      base.OnItemsRemoved(items);
     109      OnReset();
    114110      OnRowNamesChanged();
    115       OnReset();
     111      if (columnNamesChanged) OnColumnNamesChanged();
    116112    }
    117113
Note: See TracChangeset for help on using the changeset viewer.