Skip to content
Permalink
Browse files
fix auto populating when input param is QgsProcessingParameterMapLayer
(cherry picked from commit 2e5e626)
  • Loading branch information
nicogodet authored and nyalldawson committed Jun 2, 2021
1 parent 10bea7e commit 30777c4af62d17747ee22d0378ca5ed3bffd01b1
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 30777c4

Please sign in to comment.