Show More
@@ -33,6 +33,7 b' class _BoundedFloatWidget(_FloatWidget):' | |||||
33 | def __init__(self, *pargs, **kwargs): |
|
33 | def __init__(self, *pargs, **kwargs): | |
34 | """Constructor""" |
|
34 | """Constructor""" | |
35 | DOMWidget.__init__(self, *pargs, **kwargs) |
|
35 | DOMWidget.__init__(self, *pargs, **kwargs) | |
|
36 | self._validate('value', None, self.value) | |||
36 | self.on_trait_change(self._validate, ['value', 'min', 'max']) |
|
37 | self.on_trait_change(self._validate, ['value', 'min', 'max']) | |
37 |
|
38 | |||
38 | def _validate(self, name, old, new): |
|
39 | def _validate(self, name, old, new): |
General Comments 0
You need to be logged in to leave comments.
Login now