Prevent the ghost index files when the converter cache is either not used or not initialized.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33868 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-03-25 18:03:49 +00:00
parent e7b1808827
commit 13633b346e

View File

@ -247,6 +247,9 @@ void ConverterCache::init()
void ConverterCache::writeIndex() const
{
if (!lyxrc.use_converter_cache
|| cache_dir.empty())
return;
pimpl_->writeIndex();
}