Skip to content

Commit

Permalink
Allow value checking and the use of default value for ParameterExtent
Browse files Browse the repository at this point in the history
  • Loading branch information
rmgu committed Jun 27, 2013
1 parent 4825da5 commit 7e00e7b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions python/plugins/sextante/gui/AlgorithmExecutionDialog.py
Expand Up @@ -138,10 +138,7 @@ def setParamValues(self):

for param in params:
if isinstance(param, ParameterExtent):
value = self.paramTable.valueItems[param.name].getValue()
if value is not None:
param.value = value
else:
if not self.setParamValue(param, self.paramTable.valueItems[param.name]):
raise AlgorithmExecutionDialog.InvalidParameterValue(param, self.paramTable.valueItems[param.name])

for output in outputs:
Expand Down

0 comments on commit 7e00e7b

Please sign in to comment.