Skip to content

Commit

Permalink
show search icon in filter line edit
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Apr 2, 2018
1 parent 18f02ee commit 5810236
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsquerybuilder.cpp
Expand Up @@ -73,6 +73,7 @@ QgsQueryBuilder::QgsQueryBuilder( QgsVectorLayer *layer,
lblDataUri->setText( tr( "Set provider filter on %1" ).arg( layer->name() ) );
txtSQL->setText( mOrigSubsetString );

mFilterLineEdit->setShowSearchIcon( true );
mFilterLineEdit->setPlaceholderText( tr( "Search" ) );
connect( mFilterLineEdit, &QgsFilterLineEdit::textChanged, this, &QgsQueryBuilder::onTextChanged );

Expand Down

0 comments on commit 5810236

Please sign in to comment.