bug 964 from Alfredo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6549 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-03-20 14:39:23 +00:00
parent 26f1a5bfca
commit ded64628e2
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-03-20 Alfredo Braunstein <abraunst@libero.it>
* text2.C (removeRow): fix bug 964
2003-03-20 John Levon <levon@movementarian.org> 2003-03-20 John Levon <levon@movementarian.org>
* rowpainter.C: * rowpainter.C:

View File

@ -334,7 +334,7 @@ void LyXText::removeRow(Row * row)
if (anchor_row_ == row) { if (anchor_row_ == row) {
if (row_prev) { if (row_prev) {
anchor_row_ = row_prev; anchor_row_ = row_prev;
anchor_row_offset_ = 0; anchor_row_offset_ += row_prev->height();
} else { } else {
anchor_row_ = row->next(); anchor_row_ = row->next();
anchor_row_offset_ -= row->height(); anchor_row_offset_ -= row->height();