Skip to content

Commit bcb68dd

Browse files
committed
[processing] fix batch input selection panel for multiple layers parameter
1 parent 9562b9d commit bcb68dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/gui/BatchInputSelectionPanel.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def showPopupMenu(self):
8585
popupmenu = QMenu()
8686

8787
if not (isinstance(self.param, QgsProcessingParameterMultipleLayers) and
88-
self.param.datatype == dataobjects.TYPE_FILE):
88+
self.param.layerType == dataobjects.TYPE_FILE):
8989
selectLayerAction = QAction(
9090
self.tr('Select from open layers'), self.pushButton)
9191
selectLayerAction.triggered.connect(self.showLayerSelectionDialog)

0 commit comments

Comments
 (0)