]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.cpp
Fix bug #7975 following suggestions made by JMarc there.
[lyx.git] / src / insets / InsetGraphics.cpp
index 8e95db2e229a8b5c9d5dc25eced2f5cb0d67b480..38cbfa72fc3b3e6a3eb3a326ce1b5e5bae2464f0 100644 (file)
@@ -1088,6 +1088,12 @@ string InsetGraphics::params2string(InsetGraphicsParams const & params,
        return data.str();
 }
 
+
+docstring InsetGraphics::toolTip(BufferView const &, int, int) const
+{
+       return from_utf8(params().filename.onlyFileName());
+}
+
 namespace graphics {
 
 void getGraphicsGroups(Buffer const & b, set<string> & ids)