Skip to content
Permalink
Browse files

rename method so API is compatible with recent changes and other wrap…

…pers
  • Loading branch information
alexbruy authored and nyalldawson committed Apr 30, 2019
1 parent f8890d8 commit f085f5527658c0a81b9a065a6fcee4d654d16bb6
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/processing/gui/BatchInputSelectionPanel.py
@@ -85,8 +85,8 @@ def _table(self):
def showPopupMenu(self):
popupmenu = QMenu()

if not (isinstance(self.param, QgsProcessingParameterMultipleLayers) and
self.param.layerType() == QgsProcessing.TypeFile):
if (isinstance(self.param, QgsProcessingParameterMultipleLayers) and
self.param.layerType() != QgsProcessing.TypeFile):
selectLayerAction = QAction(self.tr('Select from Open Layers…'), self.pushButton)
selectLayerAction.triggered.connect(self.showLayerSelectionDialog)
popupmenu.addAction(selectLayerAction)
@@ -184,7 +184,7 @@ def textEditingFinished(self):
self._value = self.text.text()
self.valueChanged.emit()

def value(self):
def getValue(self):
return self._value if self._value else None

def setValue(self, value):

0 comments on commit f085f55

Please sign in to comment.
You can’t perform that action at this time.