Skip to content

Commit

Permalink
Change default search completion mode in the attribute table for stri…
Browse files Browse the repository at this point in the history
…ng based fields
  • Loading branch information
jgrocha authored and nyalldawson committed Mar 24, 2021
1 parent 04cc0d2 commit 3660249
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsfieldvalueslineedit.cpp
Expand Up @@ -28,6 +28,7 @@ QgsFieldValuesLineEdit::QgsFieldValuesLineEdit( QWidget *parent )
QCompleter *c = new QCompleter( this );
c->setCaseSensitivity( Qt::CaseInsensitive );
c->setFilterMode( Qt::MatchContains );
c->setCompletionMode( QCompleter::UnfilteredPopupCompletion );
setCompleter( c );
connect( this, &QgsFieldValuesLineEdit::textEdited, this, &QgsFieldValuesLineEdit::requestCompleterUpdate );
mShowPopupTimer.setSingleShot( true );
Expand Down

0 comments on commit 3660249

Please sign in to comment.