Update parameter.py to fix parameter being set from history
This commit is contained in:
parent
aeabbe64e2
commit
fde41ac456
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ class HonParameterRange(HonParameter):
|
||||||
|
|
||||||
@value.setter
|
@value.setter
|
||||||
def value(self, value):
|
def value(self, value):
|
||||||
|
value = int(value)
|
||||||
if self._min <= value <= self._max and not value % self._step:
|
if self._min <= value <= self._max and not value % self._step:
|
||||||
self._value = value
|
self._value = value
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue