]> git.lyx.org Git - lyx.git/blobdiff - src/Undo.cpp
Now we can restore the old (and better) behavior of descriptions.
[lyx.git] / src / Undo.cpp
index 6339cad33625aa5af53462b8fc0a54daf5a32dd6..a24bdead03e3861df2d6d18ab52e0b738be626ed 100644 (file)
@@ -426,7 +426,8 @@ 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.
+       // Adapt the new material to current buffer.
+       buffer_.setBuffersForInsets(); // FIXME This shouldn't be here.
        buffer_.updateLabels();
        return true;
 }