sa...@lyx.org wrote:
> Author: sanda
> Date: Mon Feb 27 00:09:25 2012
> New Revision: 40797
> URL: http://www.lyx.org/trac/changeset/40797
> 
> Log:
> Simplify & fix InsetGraphics tooltip, DocFileName inherits from FileName.

To branch? P

> 
>Modified:
>    lyx-devel/trunk/src/insets/InsetGraphics.cpp
> 
> Modified: lyx-devel/trunk/src/insets/InsetGraphics.cpp
> ==============================================================================
> --- lyx-devel/trunk/src/insets/InsetGraphics.cpp      Sun Feb 26 00:05:28 
> 2012        (r40796)
> +++ lyx-devel/trunk/src/insets/InsetGraphics.cpp      Mon Feb 27 00:09:25 
> 2012        (r40797)
> @@ -1091,7 +1091,7 @@
>  
>  docstring InsetGraphics::toolTip(BufferView const &, int, int) const
>  {
> -     return 
> from_utf8(FileName(params().filename.relFileName()).onlyFileName());
> +     return from_utf8(params().filename.onlyFileName());
>  }
>  
>  namespace graphics {

Reply via email to