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 14, 2021
1 parent ba29f22 commit 1a66c03a0e20037d40e11e3449718ff80435a6a7
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 1a66c03

Please sign in to comment.