From b0ab3da024d83f7c2fc8eb39e02f14c77a18f66b Mon Sep 17 00:00:00 2001 From: John Ahlroos Date: Tue, 28 Aug 2012 15:47:46 +0300 Subject: Fixes StackOverflow in Slider --- server/src/com/vaadin/ui/Slider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/com/vaadin') diff --git a/server/src/com/vaadin/ui/Slider.java b/server/src/com/vaadin/ui/Slider.java index a0b1d01b01..660bf739ae 100644 --- a/server/src/com/vaadin/ui/Slider.java +++ b/server/src/com/vaadin/ui/Slider.java @@ -294,7 +294,7 @@ public class Slider extends AbstractField { // 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); } -- cgit v1.2.3