mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Prevent the PreviewLoader from orphaning children
This commit is contained in:
parent
ce649ca9fd
commit
e6afdf1b2b
@ -716,6 +716,8 @@ void PreviewLoader::Impl::dumpPreamble(otexstream & os) const
|
||||
runparams.nice = true;
|
||||
runparams.moving_arg = true;
|
||||
runparams.free_spacing = true;
|
||||
if (buffer_.parent())
|
||||
runparams.is_child = true;
|
||||
buffer_.writeLaTeXSource(os, buffer_.filePath(), runparams, Buffer::OnlyPreamble);
|
||||
|
||||
// FIXME! This is a HACK! The proper fix is to control the 'true'
|
||||
|
Loading…
Reference in New Issue
Block a user