Changeset 4717


Ignore:
Timestamp:
11/03/10 13:15:14 (9 years ago)
Author:
mkommend
Message:

Corrected bug in StringConvertibleMatrixView to display all columns if the content is changed (ticket #1135).

Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleMatrixView.cs

    r4709 r4717  
    147147      HashSet<string> visibleColumnNames = new HashSet<string>(dataGridView.Columns.OfType<DataGridViewColumn>()
    148148          .Where(c => c.Visible && !string.IsNullOrEmpty(c.HeaderText)).Select(c => c.HeaderText));
     149      if (!visibleColumnNames.Intersect(Content.ColumnNames).Any())
     150        visibleColumnNames.Clear();
    149151
    150152      for (int i = 0; i < dataGridView.ColumnCount; i++) {
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionBubbleChartView.Designer.cs

    r4653 r4717  
    269269      // openBoxPlotViewToolStripMenuItem
    270270      //
    271       this.chart.ContextMenuStrip.Items.Add(openBoxPlotViewToolStripMenuItem);
     271      this.chart.ContextMenuStrip.Items.Insert(0, openBoxPlotViewToolStripMenuItem);
    272272      this.openBoxPlotViewToolStripMenuItem.Name = "openBoxPlotViewToolStripMenuItem";
    273273      this.openBoxPlotViewToolStripMenuItem.Size = new System.Drawing.Size(256, 22);
Note: See TracChangeset for help on using the changeset viewer.