Skip to content
Permalink
Browse files
fix auto populating when input param is QgsProcessingParameterMapLayer
  • Loading branch information
nicogodet authored and nyalldawson committed Jun 1, 2021
1 parent c8004cb commit 2e5e6264bf32d1088e678aeae3e805106eff405c
Showing with 3 additions and 1 deletion.
  1. +3 −1 python/plugins/processing/gui/BatchOutputSelectionPanel.py
@@ -31,6 +31,7 @@
QgsProcessingParameterFeatureSource,
QgsProcessingParameterVectorLayer,
QgsProcessingParameterMultipleLayers,
QgsProcessingParameterMapLayer,
QgsProcessingParameterBoolean,
QgsProcessingParameterEnum,
QgsProject,
@@ -105,7 +106,8 @@ def showSelectionDialog(self):
if isinstance(param, (QgsProcessingParameterRasterLayer,
QgsProcessingParameterFeatureSource,
QgsProcessingParameterVectorLayer,
QgsProcessingParameterMultipleLayers)):
QgsProcessingParameterMultipleLayers,
QgsProcessingParameterMapLayer)):
if isinstance(v, QgsMapLayer):
s = v.name()
else:

0 comments on commit 2e5e626

Please sign in to comment.