Skip to content

Commit

Permalink
[processing] [modeler] show options of MultipleInputParameter sorted …
Browse files Browse the repository at this point in the history
…in alphabetical order

fixes # 4836
  • Loading branch information
volaya committed Oct 5, 2016
1 parent 404c57b commit effcb5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/plugins/processing/gui/wrappers.py
Expand Up @@ -390,6 +390,7 @@ def _getOptions(self):
options = self.dialog.getAvailableValuesOfType(ParameterRaster, OutputRaster)
else:
options = self.dialog.getAvailableValuesOfType(ParameterFile, OutputFile)
options = sorted(options, key=lambda opt: self.dialog.resolveValueDescription(opt))
return options

def createWidget(self):
Expand Down

0 comments on commit effcb5e

Please sign in to comment.