This commit is contained in:
John Jenko 2011-03-22 14:52:39 +00:00
parent dde998479b
commit 81b22109e6

View File

@ -2166,11 +2166,11 @@ namespace Volian.Controls.Library
//} //}
this.Rows.Remove(strow); this.Rows.Remove(strow);
this.AdjustMergedRows(strow, false, true); this.AdjustMergedRows(strow, false, true);
if (mergedRow) //if (mergedRow)
{ //{
cnt++; //cnt++;
mergedRow = false; mergedRow = false;
} //}
} }
MyBorders.DeleteRows(strow, cnt); MyBorders.DeleteRows(strow, cnt);
this.AdjustGridControlSize(); this.AdjustGridControlSize();
@ -2197,11 +2197,11 @@ namespace Volian.Controls.Library
//} //}
this.Cols.Remove(stcol); this.Cols.Remove(stcol);
this.AdjustMergedColumns(stcol, false, true); this.AdjustMergedColumns(stcol, false, true);
if (mergedCol) //if (mergedCol)
{ //{
cnt++; // //cnt++;
mergedCol = false; mergedCol = false;
} //}
} }
MyBorders.DeleteColumns(stcol, cnt); MyBorders.DeleteColumns(stcol, cnt);
this.AdjustGridControlSize(); this.AdjustGridControlSize();