mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 14:15:32 +00:00
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:
parent
f27d015fa4
commit
c73d9adeb7
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user