Skip to content
Permalink
Browse files
Add vector layer #45905
  • Loading branch information
Joeperdefloep authored and github-actions committed Nov 9, 2021
1 parent e35790d commit 009ca33719eca1dd5d935cca4379878ec2503a37
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 009ca33

Please sign in to comment.