Skip to content
Permalink
Browse files

Use translated parameter names for sorting

  • Loading branch information
m-kuhn authored and nyalldawson committed Mar 6, 2018
1 parent 031aa9c commit 16e2aad293b1c5aafafc9e136ee63d54932a8977
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/modeler/ModelerDialog.py
@@ -625,7 +625,7 @@ def fillInputsTree(self):
icon = QIcon(os.path.join(pluginPath, 'images', 'input.svg'))
parametersItem = QTreeWidgetItem()
parametersItem.setText(0, self.tr('Parameters'))
sortedParams = sorted(QgsApplication.instance().processingRegistry().parameterTypes(), key=lambda pt: pt.id())
sortedParams = sorted(QgsApplication.instance().processingRegistry().parameterTypes(), key=lambda pt: pt.name())
for param in sortedParams:
if param.exposeToModeller():
paramItem = QTreeWidgetItem()

0 comments on commit 16e2aad

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