]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.cpp
GuiDelimiter: Synchronise the vertical scrollbars
[lyx.git] / src / BufferParams.cpp
index 382d1f928b50019f0e13e3f478c84f4f128042cf..9d121cb4f410dc3a322521ee58024de9e085558f 100644 (file)
@@ -1030,7 +1030,7 @@ void BufferParams::writeFile(ostream & os, Buffer const * buf) const
                to_utf8(makeRelPath(from_utf8(filepath), from_utf8(sysdir)));
        if (!prefixIs(relpath, "../") && !FileName::isAbsolute(relpath))
                filepath = addPath("/systemlyxdir", relpath);
-       else if (!lyxrc.save_origin)
+       else if (!save_transient_properties || !lyxrc.save_origin)
                filepath = "unavailable";
        os << "\\origin " << quoteIfNeeded(filepath) << '\n';