X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FUndo.cpp;h=a24bdead03e3861df2d6d18ab52e0b738be626ed;hb=9577dae301866e69016c26300826114a611ea779;hp=6339cad33625aa5af53462b8fc0a54daf5a32dd6;hpb=6192345f60bd77c9223c1649956d6814d48ca26b;p=lyx.git diff --git a/src/Undo.cpp b/src/Undo.cpp index 6339cad336..a24bdead03 100644 --- a/src/Undo.cpp +++ b/src/Undo.cpp @@ -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; }