mirror of
https://github.com/qgis/QGIS.git
synced 2025-06-19 00:02:48 -04:00
rename method so API is compatible with recent changes and other wrappers
This commit is contained in:
parent
f8890d8f04
commit
f085f55276
@ -85,8 +85,8 @@ class BatchInputSelectionPanel(QWidget):
|
||||
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 @@ class BatchInputSelectionPanel(QWidget):
|
||||
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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user