* Text.cpp (dissolveInset):

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

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30771 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2009-07-25 08:22:37 +00:00
parent a84aa658f6
commit 35db143564

View File

@ -1241,7 +1241,10 @@ bool Text::dissolveInset(Cursor & cur)
// restore position // restore position
cur.pit() = min(cur.lastpit(), spit); cur.pit() = min(cur.lastpit(), spit);
cur.pos() = min(cur.lastpos(), spos); 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
cur.buffer()->updateLabels();
cur.clearSelection(); cur.clearSelection();
cur.resetAnchor(); cur.resetAnchor();
return true; return true;