mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
Generate previews after buffer reload and clean up old ones from cache.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33901 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e73c866edf
commit
ba22be24b4
@ -3928,6 +3928,9 @@ bool Buffer::reload()
|
||||
message(bformat(_("Could not reload document %1$s."), disp_fn));
|
||||
}
|
||||
setBusy(false);
|
||||
thePreviews().removeLoader(*this);
|
||||
if (graphics::Previews::status() != LyXRC::PREVIEW_OFF)
|
||||
thePreviews().generateBufferPreviews(*this);
|
||||
errors("Parse");
|
||||
return success;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user