Go to file
Gustavo Sverzut Barbieri 108da05a3a spinner: just set the value if conversion to float worked, otherwise ignore it.
Instead of using atof() and always getting a value (even if 0 when
invalid), check if conversion to float worked and if not just revert
to last value, ignoring the input.

I'm being quite tolerant here, allowing spaces at end.



SVN revision: 45632
2010-01-27 19:34:45 +00:00
legacy/elementary spinner: just set the value if conversion to float worked, otherwise ignore it. 2010-01-27 19:34:45 +00:00