mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
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:
parent
c087d60165
commit
83d71daf03
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue