]> git.lyx.org Git - lyx.git/blobdiff - src/buffer_funcs.cpp
Remove the rest of LFUN_THEOREM_INSERT.
[lyx.git] / src / buffer_funcs.cpp
index 1d9d65126320735616aa2cabb2d91e1cf14e9d9a..fde58b6ed8e13b80a59f22f9c72156219b915809 100644 (file)
@@ -22,7 +22,6 @@
 #include "Floating.h"
 #include "FloatList.h"
 #include "InsetList.h"
-#include "InsetIterator.h"
 #include "Language.h"
 #include "LaTeX.h"
 #include "Layout.h"
@@ -492,6 +491,7 @@ void updateLabels(Buffer const & buf, bool childonly)
                // start over the counters
                textclass.counters().reset();
                buf.clearReferenceCache();
+               buf.loadChildDocuments();
        }
 
        Buffer & cbuf = const_cast<Buffer &>(buf);