]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixes StackOverflow in Slider
authorJohn Ahlroos <john@vaadin.com>
Tue, 28 Aug 2012 12:47:46 +0000 (15:47 +0300)
committerJohn Ahlroos <john@vaadin.com>
Tue, 28 Aug 2012 12:47:46 +0000 (15:47 +0300)
server/src/com/vaadin/ui/Slider.java

index a0b1d01b018317e7bdba7de63c1230ef320e44d2..660bf739ae11bf346cbaf1c27699985da506a60c 100644 (file)
@@ -294,7 +294,7 @@ public class Slider extends AbstractField<Double> {
             // Support setting all types of Numbers
             newFieldValue = ((Number) newFieldValue).doubleValue();
         }
-        setValue(newFieldValue);
+        super.setValue(newFieldValue);
         // The cast is safe if the above call returned without throwing
         getState().setValue((Double) newFieldValue);
     }