mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Fix for bug 5522, by Sergiu Carpov.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30453 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7a850e3d64
commit
43945090c1
@ -296,7 +296,9 @@ void updateExternal(InsetExternalParams const & params,
|
||||
ALL_BUT_PATHS);
|
||||
// if file is a relative name, it is interpreted
|
||||
// relative to the master document.
|
||||
exportdata.addExternalFile(rit->first, source, file);
|
||||
if (makeAbsPath(file, masterBuffer->filePath()) !=
|
||||
params.filename.absFilename())
|
||||
exportdata.addExternalFile(rit->first, source, file);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user