Skip to content
Permalink
Browse files

placeholder + move at bottom

  • Loading branch information
3nids committed Aug 31, 2018
1 parent 010295f commit 04e7c7ab236ac79d847acf0defec1442ff1dd99c
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgssnappingwidget.cpp
@@ -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

0 comments on commit 04e7c7a

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