mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
Embed: fix a bug in initialize embedded file in InsetInclude
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23668 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
48f9225e27
commit
d3f33c2106
@ -145,6 +145,7 @@ EmbeddedFile const includedFilename(Buffer const & buffer,
|
||||
EmbeddedFile file(to_utf8(params["filename"]),
|
||||
onlyPath(parentFilename(buffer)));
|
||||
file.setEmbed(!params["embed"].empty());
|
||||
file.setInzipName(toutf8(params["embed"]));
|
||||
file.enable(buffer.embedded(), &buffer, false);
|
||||
return file;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user