Skip to content

Commit

Permalink
placeholder + move at bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Aug 31, 2018
1 parent 010295f commit 04e7c7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgssnappingwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,12 @@ QgsSnappingWidget::QgsSnappingWidget( QgsProject *project, QgsMapCanvas *canvas,
QgsFilterLineEdit *filterLineEdit = new QgsFilterLineEdit();
filterLineEdit->setShowClearButton( true );
filterLineEdit->setShowSearchIcon( true );
filterLineEdit->setPlaceholderText( tr( "Filter layers…" ) );
connect( filterLineEdit, &QgsFilterLineEdit::textChanged, model, &QgsSnappingLayerTreeModel::setFilterText );
filterLayout->addStretch();
filterLayout->addWidget( filterLineEdit );
advancedLayout->addLayout( filterLayout );
advancedLayout->addWidget( mLayerTreeView );
advancedLayout->addLayout( filterLayout );
mAdvancedConfigWidget->setLayout( advancedLayout );

// enable button
Expand Down

0 comments on commit 04e7c7a

Please sign in to comment.