Show More
@@ -83,7 +83,6 b' class _FloatRangeWidget(_FloatWidget):' | |||
|
83 | 83 | self.on_trait_change(self._validate, ['value', 'upper', 'lower']) |
|
84 | 84 | |
|
85 | 85 | def _validate(self, name, old, new): |
|
86 | print '_IntRangeWidget::_validate', name, old, new | |
|
87 | 86 | if name == 'value': |
|
88 | 87 | self.lower, self.upper = min(new), max(new) |
|
89 | 88 | elif name == 'lower': |
@@ -82,7 +82,6 b' class _IntRangeWidget(_IntWidget):' | |||
|
82 | 82 | self.on_trait_change(self._validate, ['value', 'upper', 'lower']) |
|
83 | 83 | |
|
84 | 84 | def _validate(self, name, old, new): |
|
85 | print '_IntRangeWidget::_validate', name, old, new | |
|
86 | 85 | if name == 'value': |
|
87 | 86 | self.lower, self.upper = min(new), max(new) |
|
88 | 87 | elif name == 'lower': |
General Comments 0
You need to be logged in to leave comments.
Login now