mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Comment.
This commit is contained in:
parent
17a033c15a
commit
2b8ebe9f0d
@ -113,6 +113,9 @@ PreviewImage::Impl::Impl(PreviewImage & p, PreviewLoader & l,
|
||||
|
||||
PreviewImage::Impl::~Impl()
|
||||
{
|
||||
// If these images are generated for a clone, then that may be
|
||||
// because we are previewing. We therefore do not want to delete
|
||||
// them when this Buffer is destroyed.
|
||||
if (!ploader_.buffer().isClone())
|
||||
iloader_.filename().removeFile();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user