]> git.lyx.org Git - lyx.git/blobdiff - src/Undo.cpp
* src/LaTeXFeatures.cpp: simplify greektext definition. Patch by G. Milde (bug #6458)
[lyx.git] / src / Undo.cpp
index 6339cad33625aa5af53462b8fc0a54daf5a32dd6..fa07291ac6dce4cb7426e4290d86ed5827877901 100644 (file)
@@ -426,8 +426,9 @@ bool Undo::Private::textUndoOrRedo(DocIterator & cur, bool isUndoOperation)
        while (!stack.empty() && stack.top().group_id == gid)
                doTextUndoOrRedo(cur, stack, otherstack);
 
-       // Addapt the new material to current buffer.
-       buffer_.updateLabels();
+       // Adapt the new material to current buffer.
+       buffer_.setBuffersForInsets(); // FIXME This shouldn't be here.
+       buffer_.updateBuffer();
        return true;
 }