Skip to content
Permalink
Browse files
Add vector layer #45905
  • Loading branch information
Joeperdefloep authored and nyalldawson committed Nov 9, 2021
1 parent 21d9b92 commit bd608ab8c90b9d95ff1d697a67c1ae53c654031b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/processing/qgsprocessingmaplayercombobox.cpp
@@ -88,7 +88,7 @@ QgsProcessingMapLayerComboBox::QgsProcessingMapLayerComboBox( const QgsProcessin
mSelectButton->setToolTip( tr( "Select input" ) );
layout->addWidget( mSelectButton );
layout->setAlignment( mSelectButton, Qt::AlignTop );
if ( mParameter->type() == QgsProcessingParameterFeatureSource::typeName() )
if ( mParameter->type() == QgsProcessingParameterFeatureSource::typeName() || mParameter->type() == QgsProcessingParameterVectorLayer::typeName() )
{
mFeatureSourceMenu = new QMenu( this );
QAction *selectFromFileAction = new QAction( tr( "Select File…" ), mFeatureSourceMenu );

0 comments on commit bd608ab

Please sign in to comment.