mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Embedding: fix a crash when extracting InsetInclude
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22449 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b5153b3d26
commit
7ecfcc9108
@ -910,7 +910,7 @@ void InsetInclude::updateEmbeddedFile(Buffer const & buf,
|
|||||||
{
|
{
|
||||||
InsetCommandParams p = params();
|
InsetCommandParams p = params();
|
||||||
p["filename"] = from_utf8(file.outputFilename());
|
p["filename"] = from_utf8(file.outputFilename());
|
||||||
p["embedded"] = file.embedded() ? _("true") : _("false");
|
p["embed"] = file.embedded() ? _("true") : _("false");
|
||||||
set(p, buf);
|
set(p, buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user