Skip to content

Commit

Permalink
Put search icon on left of QgsFilterLineEdit
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson authored and 3nids committed Feb 5, 2018
1 parent 124e268 commit 8e9bb6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsfilterlineedit.cpp
Expand Up @@ -43,7 +43,7 @@ QgsFilterLineEdit::QgsFilterLineEdit( QWidget *parent, const QString &nullValue
QIcon searchIcon = QgsApplication::getThemeIcon( "/search.svg" );
mSearchAction = new QAction( searchIcon, QString(), this );
mSearchAction->setCheckable( false );
addAction( mSearchAction, QLineEdit::TrailingPosition );
addAction( mSearchAction, QLineEdit::LeadingPosition );
mSearchAction->setVisible( false );

connect( this, &QLineEdit::textChanged, this,
Expand Down

0 comments on commit 8e9bb6d

Please sign in to comment.