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.
This commit is contained in:
Igor Kushnir 2022-11-16 08:11:38 +02:00 committed by Abs62
parent c087d60165
commit 83d71daf03

View file

@ -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;