From 7b0ecf1f38ca87fc364c053ca5cc6e0bc4bc17d6 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Wed, 20 May 2015 16:04:18 +0200 Subject: [PATCH] Also find external material files when the document is moved and origin is known --- src/insets/InsetExternal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetExternal.cpp b/src/insets/InsetExternal.cpp index 6417013696..3d286b6f60 100644 --- a/src/insets/InsetExternal.cpp +++ b/src/insets/InsetExternal.cpp @@ -272,7 +272,7 @@ bool InsetExternalParams::read(Buffer const & buffer, Lexer & lex) case EX_FILENAME: { lex.eatLine(); string const name = lex.getString(); - filename.set(name, buffer.filePath()); + filename.set(name, buffer.originFilePath()); break; } -- 2.39.5