diff options
Diffstat (limited to 'xbmc/filesystem/PluginDirectory.cpp')
-rw-r--r-- | xbmc/filesystem/PluginDirectory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/filesystem/PluginDirectory.cpp b/xbmc/filesystem/PluginDirectory.cpp index caff5c36b0..76eaf43174 100644 --- a/xbmc/filesystem/PluginDirectory.cpp +++ b/xbmc/filesystem/PluginDirectory.cpp @@ -227,7 +227,7 @@ void CPluginDirectory::EndOfDirectory(int handle, bool success, bool replaceList return; // set cache to disc - dir->m_listItems->SetCacheToDisc(CFileItemList::CACHE_NEVER); + dir->m_listItems->SetCacheToDisc(cacheToDisc ? CFileItemList::CACHE_IF_SLOW : CFileItemList::CACHE_NEVER); dir->m_success = success; dir->m_listItems->SetReplaceListing(replaceListing); |