Skip to content

Commit

Permalink
[processing] fix batch input selection panel for multiple layers para…
Browse files Browse the repository at this point in the history
…meter
  • Loading branch information
nirvn committed Feb 9, 2018
1 parent 9562b9d commit bcb68dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/BatchInputSelectionPanel.py
Expand Up @@ -85,7 +85,7 @@ def showPopupMenu(self):
popupmenu = QMenu()

if not (isinstance(self.param, QgsProcessingParameterMultipleLayers) and
self.param.datatype == dataobjects.TYPE_FILE):
self.param.layerType == dataobjects.TYPE_FILE):
selectLayerAction = QAction(
self.tr('Select from open layers'), self.pushButton)
selectLayerAction.triggered.connect(self.showLayerSelectionDialog)
Expand Down

0 comments on commit bcb68dd

Please sign in to comment.