Skip to content
Permalink
Browse files

Change default search completion mode in the attribute table for stri…

…ng based fields
  • Loading branch information
jgrocha authored and nyalldawson committed Mar 28, 2021
1 parent cf201d9 commit 0ac31cca3e424638f0fbe8efce202cb9f34f5a28
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/qgsfieldvalueslineedit.cpp
@@ -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 );

0 comments on commit 0ac31cc

Please sign in to comment.