Quick crash bug fix with the row parsing engine where an existing, unchanged, header row is marked as dirty by the engine.
This commit is contained in:
@@ -146,7 +146,7 @@ namespace AdvertsingProfitControl
|
||||
return;
|
||||
}
|
||||
//IF the previous row is a header row, then color it as a group header and color the current row as a member of said group.
|
||||
else if (rowStatus == RowAttribute.HeaderRow)
|
||||
else if (rowStatus == RowAttribute.HeaderRow && !(bool)dataGridView.Rows[i - 1].Cells[isHeaderColumn].Value)
|
||||
{
|
||||
//Set the previous row as a header row.
|
||||
dataGridView.Rows[i - 1].Cells[isHeaderColumn].Value = true;
|
||||
|
||||
Reference in New Issue
Block a user