Simplify & fix InsetGraphics tooltip, DocFileName inherits from FileName.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40797 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2012-02-26 23:09:25 +00:00
parent f27d015fa4
commit c73d9adeb7

View 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 {