diff --git a/search-ukcc-plugin/search.cpp b/search-ukcc-plugin/search.cpp index 1242084..e8c324a 100644 --- a/search-ukcc-plugin/search.cpp +++ b/search-ukcc-plugin/search.cpp @@ -146,6 +146,9 @@ QWidget *Search::pluginUi() m_indexSetFrame->show(); } else { m_indexSetFrame->hide(); + if (m_gsettings->keys().contains(CONTENT_INDEX_ENABLE_OCR_KEY)) { + m_gsettings->set(CONTENT_INDEX_ENABLE_OCR_KEY, false); + } } } else if (key == CONTENT_INDEX_ENABLE_OCR_KEY) { m_ocrSwitchBtn->blockSignals(true);