From 7423e1728c63576fda7f39e01a35342d12361a51 Mon Sep 17 00:00:00 2001 From: lichaofan Date: Fri, 1 Nov 2024 11:40:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=B3=E9=97=AD=E2=80=9CAI=E6=99=BA?= =?UTF-8?q?=E8=83=BD=E6=90=9C=E7=B4=A2=E2=80=9D=E6=97=B6=E4=BC=9A=E5=90=8C?= =?UTF-8?q?=E6=97=B6=E5=85=B3=E9=97=AD=E2=80=9C=E8=87=AA=E5=8A=A8=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E7=B4=A2=E5=BC=95=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Description: 关闭“AI智能搜索”时会同时关闭“自动更新索引” Log: --- .../intelligentretrieval/intelligentretrievalwidget.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/grand-search/gui/searchconfig/intelligentretrieval/intelligentretrievalwidget.cpp b/src/grand-search/gui/searchconfig/intelligentretrieval/intelligentretrievalwidget.cpp index 81763dd..503a91b 100644 --- a/src/grand-search/gui/searchconfig/intelligentretrieval/intelligentretrievalwidget.cpp +++ b/src/grand-search/gui/searchconfig/intelligentretrieval/intelligentretrievalwidget.cpp @@ -284,7 +284,9 @@ void IntelligentRetrievalWidget::checkChanged() m_featIndex->setChecked(on); //m_fullTextIndex->setChecked(on); - //this->setAutoIndex(on); + if (!on) { + this->setAutoIndex(on); + } //setFulltextQuery(on); // 检测是否安装大模型,未安装就提醒弹窗