Skip to content

Commit 16e2aad

Browse files
m-kuhnnyalldawson
authored andcommitted
Use translated parameter names for sorting
1 parent 031aa9c commit 16e2aad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/modeler/ModelerDialog.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ def fillInputsTree(self):
625625
icon = QIcon(os.path.join(pluginPath, 'images', 'input.svg'))
626626
parametersItem = QTreeWidgetItem()
627627
parametersItem.setText(0, self.tr('Parameters'))
628-
sortedParams = sorted(QgsApplication.instance().processingRegistry().parameterTypes(), key=lambda pt: pt.id())
628+
sortedParams = sorted(QgsApplication.instance().processingRegistry().parameterTypes(), key=lambda pt: pt.name())
629629
for param in sortedParams:
630630
if param.exposeToModeller():
631631
paramItem = QTreeWidgetItem()

0 commit comments

Comments
 (0)