+2005-11-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
+
+ * math_parser.C (delEmptyLastRow): Don't delete the dummy row, but
+ the last full row, since the dummy row has only rowinfo
+
2005-11-02 Angus Leeming <leeming@lyx.org>
* math_nestinset.C: trivial fix to a MSVS warning.
if (!grid.cell(grid.index(row, col)).empty())
return;
}
- // Remove the dummy row, so that the previous last row (that would
- // contain the last hline in the example above) becomes the dummy row.
- grid.delRow(row + 1);
+ // Copy the row information of the empty row (which would contain the
+ // last hline in the example above) to the dummy row and delete the
+ // empty row.
+ grid.rowinfo(row + 1) = grid.rowinfo(row);
+ grid.delRow(row);
}