]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.cpp
Stupid bug fix.
[lyx.git] / src / insets / InsetBranch.cpp
index d8b2fd7cbc76aadd6e19441f7829da2f3b01c606..02537c05f60353e75903f4de61e51b2bca2ea906 100644 (file)
@@ -279,6 +279,8 @@ void InsetBranch::addToToc(DocIterator const & cpit)
        Toc & toc = buffer().tocBackend().toc("branch");
        docstring const str = params_.branch + ": " + text_.getPar(0).asString();
        toc.push_back(TocItem(pit, 0, str));
+       // Proceed with the rest of the inset.
+       InsetCollapsable::addToToc(cpit);
 }