Fixed a bug in the spin box digits count displayed