mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 14:29:21 +00:00
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24609 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
98b51ebfbc
commit
592d53e065
@ -910,7 +910,8 @@ void InsetGraphics::addToToc(ParConstIterator const & cpit) const
|
||||
{
|
||||
TocBackend & backend = buffer().tocBackend();
|
||||
|
||||
docstring const str = params_.filename.displayName();
|
||||
//FIXME UNICODE
|
||||
docstring const str = from_utf8(params_.filename.onlyFileName());
|
||||
backend.toc("graphics").push_back(TocItem(cpit, 0, str));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user