Merge pull request #1727 from xiaoyifang/opt/full-dialog

opt: default and plaintext are the same ,remove one
This commit is contained in:
xiaoyifang 2024-08-14 11:56:30 +08:00 committed by GitHub
commit 555811e3f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -217,10 +217,9 @@ FullTextSearchDialog::FullTextSearchDialog( QWidget * parent,
&FullTextSearchDialog::setNewIndexingName );
ui.searchMode->addItem( tr( "Default" ), WholeWords );
ui.searchMode->addItem( tr( "Plain text" ), PlainText );
ui.searchMode->addItem( tr( "Wildcards" ), Wildcards );
ui.searchLine->setToolTip( tr( "support xapian search syntax,such as AND OR +/- etc" ) );
ui.searchLine->setToolTip( tr( "Support xapian search syntax, such as AND OR +/- etc." ) );
ui.searchMode->setCurrentIndex( cfg.preferences.fts.searchMode );