fix(file-index):解决单独打开AI索引时无法安装监听的问题
This commit is contained in:
parent
dfca3d37bb
commit
9e318e6c9f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue