]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetFoot.cpp
Fix bug 4346: http://bugzilla.lyx.org/show_bug.cgi?id=4346.
[features.git] / src / insets / InsetFoot.cpp
index 615171d0e28343486f925bdf7143db4968fb00da..66654e6cb71ef445c1b0d7aa174287d698b35e78 100644 (file)
@@ -81,7 +81,7 @@ void InsetFoot::addToToc(DocIterator const & cpit)
 docstring InsetFoot::toolTip(BufferView const & bv, int x, int y) const
 {
        docstring default_tip = InsetCollapsable::toolTip(bv, x, y);
-       if (!isOpen())
+       if (!isOpen(bv))
                return custom_label_ + ": " + default_tip;
        return default_tip;
 }