fix counters on depm

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10290 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2005-07-17 15:22:15 +00:00
parent 71b4a6798b
commit 6768d3a148
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
* text2.C: fix counter update for DEPM problem reported by
Georg Baum
2005-07-17 Juergen Vigna <jug@lyx.org>
* BufferView_pimpl.C (setBuffer): save/restore the
@ -7,7 +12,6 @@
* buffer.C (saveCursor): add saveDocumentIterators to save the
cursor when switching buffer.
2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
* debug.C: fix typo

View File

@ -1296,8 +1296,10 @@ bool LyXText::deleteEmptyParagraphMechanism(LCursor & cur, LCursor const & old)
}
}
if (deleted)
if (deleted) {
updateCounters(cur.buffer());
return true;
}
if (pars_[old.pit()].stripLeadingSpaces())
cur.resetAnchor();