]> git.lyx.org Git - features.git/commitdiff
* buffer_funcs.cpp (updateLabels): fix crash: par_iterator_begin already
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 13 Aug 2007 19:33:35 +0000 (19:33 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 13 Aug 2007 19:33:35 +0000 (19:33 +0000)
puts cursor at the right place.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19519 a592a061-630c-0410-9148-cb99ea01b6c8

src/buffer_funcs.cpp

index 39091ed55a7f70a303e36bdaac5c4229e1c961ef..84b037e67cf960ce8e312731804979e2f5bd375d 100644 (file)
@@ -597,7 +597,6 @@ void updateLabels(Buffer const & buf, bool childonly)
 
        // do the real work
        ParIterator parit = par_iterator_begin(buf.inset());
-       parit.forwardPos();
        updateLabels(buf, parit);
 
        Buffer & cbuf = const_cast<Buffer &>(buf);