fix(file-index):解决单独打开AI索引时无法安装监听的问题
This commit is contained in:
parent
a270bbd902
commit
4fa1f491e7
|
@ -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