Browse Source

Fixes StackOverflow in Slider

tags/7.0.0.beta1
John Ahlroos 11 years ago
parent
commit
b0ab3da024
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      server/src/com/vaadin/ui/Slider.java

+ 1
- 1
server/src/com/vaadin/ui/Slider.java View 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);
}

Loading…
Cancel
Save