]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetIndex.cpp
fix http://bugzilla.lyx.org/show_bug.cgi?id=4998
[lyx.git] / src / insets / InsetIndex.cpp
index 9733467679e0d8c2ba355f15abc659ca76f6e8f9..d56fa4a5b13ed1f06eb76b2fc525a6c49704baee 100644 (file)
@@ -102,6 +102,8 @@ void InsetIndex::addToToc(DocIterator const & cpit)
        docstring str;
        str = getNewLabel(str);
        toc.push_back(TocItem(pit, 0, str));
+       // Proceed with the rest of the inset.
+       InsetCollapsable::addToToc(cpit);
 }