fix(ukcc-plugin):the ocr switch has not been closed while changing the state of the file content switch to false.
This commit is contained in:
parent
c0276df65a
commit
2b23df5a3a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue