daveray/seesaw — pull request #182 by paulrd (2014-10-21 21:38:01+00:00)
Title: Fix bug where long is put into spinner model that is holding ints.

This bug was caused by the ambiguity of the SpinnerNumberModel constructor. Clojure coerces longs to ints to match the interger form of the constructor (but not always?). If we set the spinner value to a long, we set up a potential error when we try to fetch the previous or next values. This PR ensures that calls to selection! on jspinner will set as Integer if the SpinnerNumberModel is of that type.