From 8074df1dc4b460a4c5207d181e93b94db4bda66d Mon Sep 17 00:00:00 2001 From: iaom Date: Tue, 6 Dec 2022 09:25:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=9C=AA=E6=89=93=E5=BC=80?= =?UTF-8?q?=E7=B4=A2=E5=BC=95=E6=97=B6=E6=90=9C=E7=B4=A2=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E5=BC=B9=E5=87=BA=E6=8F=90=E7=A4=BA=E7=AA=97=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/mainwindow.cpp b/frontend/mainwindow.cpp index b622fa5..6bcb226 100644 --- a/frontend/mainwindow.cpp +++ b/frontend/mainwindow.cpp @@ -404,7 +404,7 @@ void MainWindow::initTimer() { m_askTimer->stop(); } else { //允许弹窗且当前次搜索(为关闭主界面,算一次搜索过程)未询问且当前为暴力搜索 - if(m_settings->value(ENABLE_CREATE_INDEX_ASK_DIALOG).toBool() && !m_currentSearchAsked && GlobalSettings::getInstance()->getValue(FILE_INDEX_ENABLE_KEY).toBool() == false) + if(m_settings->value(ENABLE_CREATE_INDEX_ASK_DIALOG, true).toBool() && !m_currentSearchAsked && GlobalSettings::getInstance()->getValue(FILE_INDEX_ENABLE_KEY).toBool() == false) m_askTimer->start(); } });