mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 21:05:12 +00:00
* src/Text2.cpp (deleteEmptyParagraphMechanism): do not reset the
appendix marker if the deleted paragraph was the last one (bug 4352) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21639 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3ea8ddf7f9
commit
8b1cc5bfef
@ -820,7 +820,7 @@ bool Text::deleteEmptyParagraphMechanism(Cursor & cur,
|
||||
bool const soa = oldpar.params().startOfAppendix();
|
||||
plist.erase(boost::next(plist.begin(), old.pit()));
|
||||
// do not lose start of appendix marker (bug 4212)
|
||||
if (soa)
|
||||
if (soa && old.pit() < plist.size())
|
||||
plist[old.pit()].params().startOfAppendix(true);
|
||||
|
||||
// see #warning (FIXME?) above
|
||||
|
Loading…
Reference in New Issue
Block a user