Skip to content

Commit

Permalink
Sort input types in processing modeler dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 16, 2018
1 parent de65190 commit f969b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/modeler/ModelerDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ def fillInputsTree(self):
icon = QIcon(os.path.join(pluginPath, 'images', 'input.svg'))
parametersItem = QTreeWidgetItem()
parametersItem.setText(0, self.tr('Parameters'))
for paramType in ModelerParameterDefinitionDialog.paramTypes:
for paramType in sorted(ModelerParameterDefinitionDialog.paramTypes):
paramItem = QTreeWidgetItem()
paramItem.setText(0, paramType)
paramItem.setIcon(0, icon)
Expand Down

0 comments on commit f969b03

Please sign in to comment.