Free cookie consent management tool by TermsFeed Policy Generator

Changeset 10627


Ignore:
Timestamp:
03/19/14 14:24:34 (11 years ago)
Author:
rstoll
Message:

Show/hide columns was no longer displayed when a user clicked on the column header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/DataGridContentView.cs

    r10626 r10627  
    155155      if (e.Button == System.Windows.Forms.MouseButtons.Right) {
    156156        if (e.ColumnIndex == -1 || e.RowIndex == -1) {
    157           contextMenu.Show(MousePosition);
     157          replaceValueToolStripMenuItem.Visible = false;
     158          contextMenuCell.Show(MousePosition);
    158159        } else {
    159160          if (!dataGridView.SelectedCells.Contains(dataGridView[e.ColumnIndex, e.RowIndex])) {
     
    168169          averageToolStripMenuItem.Enabled = medianToolStripMenuItem.Enabled = randomToolStripMenuItem.Enabled = !Content.DataGridLogic.AreAllStringColumns(columnIndices);
    169170          interpolationToolStripMenuItem.Enabled = interpolationToolStripMenuItem.Enabled && !Content.DataGridLogic.AreAllStringColumns(columnIndices);
     171          replaceValueToolStripMenuItem.Visible = true;
    170172          contextMenuCell.Show(MousePosition);
    171173        }
Note: See TracChangeset for help on using the changeset viewer.