Skip to content

Commit

Permalink
Merge pull request #1727 from xiaoyifang/opt/full-dialog
Browse files Browse the repository at this point in the history
opt: default and plaintext are the same ,remove one
  • Loading branch information
xiaoyifang committed Aug 14, 2024
2 parents b3a1cb4 + 5147c8c commit 555811e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/fulltextsearch.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down

0 comments on commit 555811e

Please sign in to comment.