mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
* 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:
parent
a84aa658f6
commit
35db143564
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user