This commit is contained in:
Daniel Ramoeller 2023-03-30 16:12:08 -04:00 committed by Richard Kimberly Heck
parent e41f4d20bc
commit 211554d0df
2 changed files with 8 additions and 1 deletions

View File

@ -933,4 +933,10 @@ string InsetExternal::params2string(InsetExternalParams const & params,
return data.str();
}
docstring InsetExternal::toolTip(BufferView const &, int, int) const
{
return from_utf8(params().filename.onlyFileName());
}
} // namespace lyx

View File

@ -177,7 +177,8 @@ private:
bool isPreviewed() const;
/// Do we have the right renderer (button, graphic or monitored preview)?
bool isRendererValid() const;
///
docstring toolTip(BufferView const & bv, int x, int y) const override;
/// The current params
InsetExternalParams params_;
/// The thing that actually draws the image on LyX's screen.