Skip to content

Commit 6548e2e

Browse files
committedOct 2, 2012
fixed #6362 (should check that does not break other things and model executes correctly)
1 parent 1549f09 commit 6548e2e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed
 

‎python/plugins/sextante/modeler/ModelerParametersDialog.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -428,12 +428,13 @@ def setParamValues(self):
428428
return False
429429
for output in outputs:
430430
if output.hidden:
431-
continue
432-
name= unicode(self.valueItems[output.name].text())
433-
if name.strip()!="" and name != ModelerParametersDialog.ENTER_NAME:
434-
self.outputs[output.name]=name
431+
self.outputs[output.name] = None
435432
else:
436-
self.outputs[output.name] = None
433+
name= unicode(self.valueItems[output.name].text())
434+
if name.strip()!="" and name != ModelerParametersDialog.ENTER_NAME:
435+
self.outputs[output.name]=name
436+
else:
437+
self.outputs[output.name] = None
437438
return True
438439

439440

0 commit comments

Comments
 (0)
Please sign in to comment.