fix(file-index):解决单独打开AI索引时无法安装监听的问题

This commit is contained in:
iaom 2024-04-18 19:19:53 +08:00
parent a270bbd902
commit 4fa1f491e7
1 changed files with 1 additions and 1 deletions

View File

@ -474,7 +474,7 @@ void IndexScheduler::checkIfStartsWaiting()
void IndexScheduler::installWatches()
{
if(m_config->isFileIndexEnable() || m_config->isContentIndexEnable() || m_config->isOCREnable()) {
if(m_config->isFileIndexEnable() || m_config->isContentIndexEnable() || m_config->isOCREnable() || m_config->isAiIndexEnable()) {
if(!m_watchInstalled) {
m_fileWatcher.installWatches();
m_watchInstalled = true;