From 83d71daf03e468f784e41e834dc32c67fe2a5870 Mon Sep 17 00:00:00 2001 From: Igor Kushnir Date: Wed, 16 Nov 2022 08:11:38 +0200 Subject: [PATCH] Don't reset FTS Ignore* options on Preferences change Accepting changes in Preferences dialog no longer disables two options "Ignore words order" and "Ignore diacritics", which are configurable in Full-text search dialog. --- mainwindow.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mainwindow.cc b/mainwindow.cc index a4b64882..9a8282f5 100644 --- a/mainwindow.cc +++ b/mainwindow.cc @@ -2190,6 +2190,8 @@ void MainWindow::editPreferences() p.fts.searchMode = cfg.preferences.fts.searchMode; p.fts.useMaxArticlesPerDictionary = cfg.preferences.fts.useMaxArticlesPerDictionary; p.fts.useMaxDistanceBetweenWords = cfg.preferences.fts.useMaxDistanceBetweenWords; + p.fts.ignoreWordsOrder = cfg.preferences.fts.ignoreWordsOrder; + p.fts.ignoreDiacritics = cfg.preferences.fts.ignoreDiacritics; bool needReload = false;