Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add vector layer #45905
  • Loading branch information
Joeperdefloep authored and nyalldawson committed Nov 9, 2021
1 parent 2d974b4 commit 6b7d524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/processing/qgsprocessingmaplayercombobox.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 6b7d524

Please sign in to comment.