Navigation Menu

Skip to content

Commit

Permalink
[processing] sort model input parameters to avoid random ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Oct 31, 2016
1 parent 3caccd5 commit bec3792
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/plugins/processing/modeler/ModelerAlgorithm.py
Expand Up @@ -276,6 +276,8 @@ def defineCharacteristics(self):
for inp in list(self.inputs.values()):
if inp.param not in self.parameters:
self.parameters.append(inp.param)
self.parameters.sort(key=attrgetter("description"))

self.outputs = []
for alg in list(self.algs.values()):
if alg.active:
Expand Down

0 comments on commit bec3792

Please sign in to comment.