* Text.cpp (dissolveInset):

- perform updateLabels also after dissolving an empty inset (bug 6003).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30772 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2009-07-25 08:24:21 +00:00
parent 407c5742c0
commit 64a7513231
2 changed files with 7 additions and 1 deletions

View File

@ -1236,7 +1236,10 @@ bool Text::dissolveInset(Cursor & cur)
// restore position
cur.pit() = min(cur.lastpit(), spit);
cur.pos() = min(cur.lastpos(), spos);
}
} else
// this is the least that needs to be done (bug 6003)
// in the above case, pasteParagraphList handles this
updateLabels(cur.buffer());
cur.clearSelection();
cur.resetAnchor();
return true;

View File

@ -165,6 +165,9 @@ What's new
- Fix a crash when closing a LyX window with split views (bug 5998).
- Fix a crash when applying preference changes (bug 6064).
- Fix a crash when accessing the Navigate menu after an empty inset has
been dissolved (bug 6003).
- Fall back to default UI file if the specified one cannot be found
(bug 6076).