Skip to content

Commit 7e00e7b

Browse files
author
rmgu
committed
Allow value checking and the use of default value for ParameterExtent
1 parent 4825da5 commit 7e00e7b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

python/plugins/sextante/gui/AlgorithmExecutionDialog.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,7 @@ def setParamValues(self):
138138

139139
for param in params:
140140
if isinstance(param, ParameterExtent):
141-
value = self.paramTable.valueItems[param.name].getValue()
142-
if value is not None:
143-
param.value = value
144-
else:
141+
if not self.setParamValue(param, self.paramTable.valueItems[param.name]):
145142
raise AlgorithmExecutionDialog.InvalidParameterValue(param, self.paramTable.valueItems[param.name])
146143

147144
for output in outputs:

0 commit comments

Comments
 (0)