Skip to content
Permalink
Browse files

Merge pull request #3694 from nirvn/processing_sort_model_inputs

[processing] sort model input parameters to avoid random ordering
  • Loading branch information
nyalldawson committed Oct 31, 2016
2 parents 3caccd5 + bec3792 commit 07b25af5376f3001a4c4cc8c982f406aef2a49cb
Showing with 2 additions and 0 deletions.
  1. +2 −0 python/plugins/processing/modeler/ModelerAlgorithm.py
@@ -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:

0 comments on commit 07b25af

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