]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetFoot.cpp
Mini-optimization: We do not need really long tooltips for the TOC.
[features.git] / src / insets / InsetFoot.cpp
index 96392d5d83f75f175194ac1b2351169b7528c63c..a2a0099fa9d0f828788976240fce81389b85f1a3 100644 (file)
@@ -69,7 +69,7 @@ void InsetFoot::addToToc(DocIterator const & cpit)
        Toc & toc = buffer().tocBackend().toc("footnote");
        docstring str = custom_label_ + ": ";
        text().forToc(str, TOC_ENTRY_LENGTH);
-       toc.push_back(TocItem(pit, 0, str, toolTipText()));
+       toc.push_back(TocItem(pit, 0, str, toolTipText(docstring(), 3, 60)));
        // Proceed with the rest of the inset.
        InsetFootlike::addToToc(cpit);
 }