]> 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 733d4c6cc75b4329e8fd9ff94136036b2c6c9b4b..38cbfa72fc3b3e6a3eb3a326ce1b5e5bae2464f0 100644 (file)
@@ -1091,7 +1091,7 @@ string InsetGraphics::params2string(InsetGraphicsParams const & params,
 
 docstring InsetGraphics::toolTip(BufferView const &, int, int) const
 {
-       return from_utf8(FileName(params().filename.relFileName()).onlyFileName());
+       return from_utf8(params().filename.onlyFileName());
 }
 
 namespace graphics {