Skip to content
Browse files

show variableDescription as shown in the list of variables

  • Loading branch information
luipir committed Jul 10, 2018
1 parent 0acb766 commit 5ebe5d6c5b1270c5b7dee50919c4db5d922c9e29
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/plugins/processing/algs/qgis/ui/
@@ -214,10 +214,11 @@ def createWidget(self):
return QLineEdit()
layers = self.dialog.getAvailableValuesOfType([QgsProcessingParameterRasterLayer], [QgsProcessingOutputRasterLayer])
options = {self.dialog.resolveValueDescription(lyr): "{}@1".format(lyr) for lyr in layers}
options = {self.dialog.resolveValueDescription(lyr): "{}@1".format(self.dialog.resolveValueDescription(lyr)) for lyr in layers}
return self._panel(options)

def refresh(self):
# TODO: check if avoid code duplication with self.createWidget
layers = QgsProcessingUtils.compatibleRasterLayers(QgsProject.instance())
options = {}
for lyr in layers:

0 comments on commit 5ebe5d6

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