Skip to content
Browse files

[processing] provide non-random default ordering of parameters in models

Fixes #11702
  • Loading branch information
volaya committed Nov 21, 2014
1 parent 9837f43 commit 530b15a0e1c09e67f6392b4bf4bcfeaa32473262
Showing with 10 additions and 1 deletion.
  1. +10 −1 python/plugins/processing/modeler/
@@ -185,7 +185,16 @@ def getIcon(self):
return QtGui.QIcon(os.path.dirname(__file__) + '/../images/model.png')

def defineCharacteristics(self):
self.parameters = [inp.param for inp in self.inputs.values()]
classes = [ParameterRaster, ParameterVector, ParameterTable, ParameterTableField,
ParameterBoolean, ParameterString, ParameterNumber]
self.parameters = []
for c in classes:
for inp in self.inputs.values():
if isinstance(inp.param, c):
for inp in self.inputs.values():
if inp.param not in self.parameters:
self.outputs = []
for alg in self.algs.values():

0 comments on commit 530b15a

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