diff --git a/src/ui/preferences.cc b/src/ui/preferences.cc index 92d1ffc1..da5e328b 100644 --- a/src/ui/preferences.cc +++ b/src/ui/preferences.cc @@ -465,8 +465,9 @@ Config::Preferences Preferences::getPreferences() p.addonStyle = ui.addonStyles->getCurrentStyle(); - p.fts.enabled = ui.ftsGroupBox->isChecked(); + p.fts.enabled = ui.ftsGroupBox->isChecked(); p.fts.maxDictionarySize = ui.maxDictionarySize->value(); + p.fts.enablePosition = ui.enablePosition->isChecked(); buildDisabledTypes( p.fts.disabledTypes, ui.allowAard->isChecked(), "AARD" ); buildDisabledTypes( p.fts.disabledTypes, ui.allowBGL->isChecked(), "BGL" ); diff --git a/src/ui/preferences.ui b/src/ui/preferences.ui index 883a5cc1..91ba2587 100644 --- a/src/ui/preferences.ui +++ b/src/ui/preferences.ui @@ -1296,16 +1296,6 @@ download page. - - - - Positional information is required to use Xapian's phrase searching and NEAR operator, but the database size will be much bigger. Applies only to new incoming dictionaries. - - - Enable index with positional information - - - @@ -1362,7 +1352,7 @@ download page. - + @@ -1403,6 +1393,16 @@ download page. + + + + Positional information is required to use Xapian's phrase searching and NEAR operator, but the database size will be much bigger. Applies only to new incoming dictionaries. + + + Enable index with positional information + + +