]> git.lyx.org Git - features.git/blobdiff - src/insets/insetparent.C
fix starting up which binary is really a symlink; make sure insetinclude file browser...
[features.git] / src / insets / insetparent.C
index 56dcb26b51013c0f9c301f66a7d83e301c3616f3..7d79793adaae26389578dc78e9010bbae01220ad 100644 (file)
@@ -34,7 +34,7 @@ InsetParent::InsetParent(InsetCommandParams const & p, Buffer const & bf, bool)
        : InsetCommand(p)
 {
        string const fn = p.getContents();
-       setContents(MakeAbsPath(fn, OnlyPath(bf.fileName())));
+       setContents(MakeAbsPath(fn, bf.filePath()));
 }