]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetMarginal.cpp
InsetTabular.cpp: fix #6585 also for wrapped floats - thanks Vincent
[lyx.git] / src / insets / InsetMarginal.cpp
index 86b93bd4b74d347577fe76e41c448ec21cf45e0c..377693f17b6400a1af82da12bae07a052ed0005d 100644 (file)
@@ -59,7 +59,7 @@ void InsetMarginal::addToToc(DocIterator const & cpit)
        Toc & toc = buffer().tocBackend().toc("marginalnote");
        docstring str;
        str = text().getPar(0).asString();
-       toc.push_back(TocItem(pit, 0, str));
+       toc.push_back(TocItem(pit, 0, str, toolTipText()));
        // Proceed with the rest of the inset.
        InsetFootlike::addToToc(cpit);
 }