mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +00:00
Also find external material files when the document is moved and origin is known
This commit is contained in:
parent
a93ac27450
commit
7b0ecf1f38
@ -272,7 +272,7 @@ bool InsetExternalParams::read(Buffer const & buffer, Lexer & lex)
|
|||||||
case EX_FILENAME: {
|
case EX_FILENAME: {
|
||||||
lex.eatLine();
|
lex.eatLine();
|
||||||
string const name = lex.getString();
|
string const name = lex.getString();
|
||||||
filename.set(name, buffer.filePath());
|
filename.set(name, buffer.originFilePath());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user