Skip to content
Permalink
Browse files

hide clear icon for QgsFilterLineEdit at first instantiation

(cherry-picked from 57e1982)
  • Loading branch information
slarosa authored and nyalldawson committed Mar 19, 2018
1 parent feaf22f commit b1d485be750fc55c3997ffd6e468d745e963598a
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/qgsfilterlineedit.cpp
@@ -39,6 +39,7 @@ QgsFilterLineEdit::QgsFilterLineEdit( QWidget *parent, const QString &nullValue
mClearAction->setCheckable( false );
addAction( mClearAction, QLineEdit::TrailingPosition );
connect( mClearAction, &QAction::triggered, this, &QgsFilterLineEdit::clearValue );
mClearAction->setVisible( false );

QIcon searchIcon = QgsApplication::getThemeIcon( "/search.svg" );
mSearchAction = new QAction( searchIcon, QString(), this );

0 comments on commit b1d485b

Please sign in to comment.
You can’t perform that action at this time.