Free cookie consent management tool by TermsFeed Policy Generator

Changeset 4546


Ignore:
Timestamp:
10/01/10 20:29:04 (14 years ago)
Author:
gkronber
Message:

Implemented bug fix for #1230.

File:
1 edited

Legend:

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

    r4523 r4546  
    280280      }
    281281
    282       bool addRowNames = dataGridView.AreAllCellsSelected(false);
    283       bool addColumnNames = dataGridView.AreAllCellsSelected(false);
     282      bool addRowNames = dataGridView.AreAllCellsSelected(false) && Content.RowNames.Count() > 0;
     283      bool addColumnNames = dataGridView.AreAllCellsSelected(false) && Content.ColumnNames.Count() > 0;
    284284
    285285      //add colum names
Note: See TracChangeset for help on using the changeset viewer.