mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Fix bug #7777. We need a loader when exporting no matter what.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40067 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5666b903ba
commit
b66e3c6e0f
@ -953,7 +953,7 @@ void Buffer::setFullyLoaded(bool value)
|
||||
|
||||
PreviewLoader * Buffer::loader() const
|
||||
{
|
||||
if (lyxrc.preview == LyXRC::PREVIEW_OFF)
|
||||
if (!isExporting() && lyxrc.preview == LyXRC::PREVIEW_OFF)
|
||||
return 0;
|
||||
if (!d->preview_loader_)
|
||||
d->preview_loader_ = new PreviewLoader(*this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user