Skip to content


Browse files Browse the repository at this point in the history
[processing] fixed parameter definition parsing for parameters of typ…
…e integer
  • Loading branch information
volaya committed Aug 22, 2014
1 parent 8874696 commit 3fdf12b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/core/
Expand Up @@ -368,11 +368,11 @@ def __init__(self, name='', description='', minValue=None, maxValue=None,
self.default = float(default)
self.isInteger = False
if minValue is not None:
self.min = int(minValue) if self.isInteger else float(minValue)
self.min = int(float(minValue)) if self.isInteger else float(minValue)
self.min = None
if maxValue is not None:
self.max = int(maxValue) if self.isInteger else float(maxValue)
self.max = int(float(maxValue)) if self.isInteger else float(maxValue)
self.max = None
self.value = None
Expand Down

0 comments on commit 3fdf12b

Please sign in to comment.