summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/llui/llspinctrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llspinctrl.cpp b/indra/llui/llspinctrl.cpp
index 4890a75c4a..9decfa0b25 100644
--- a/indra/llui/llspinctrl.cpp
+++ b/indra/llui/llspinctrl.cpp
@@ -128,7 +128,7 @@ LLSpinCtrl::LLSpinCtrl(const LLSpinCtrl::Params& p)
}
else //should accept int numbers
{
- params.prevalidate_callback(&LLTextValidate::validateNonNegativeS32);
+ params.prevalidate_callback(&LLTextValidate::validateInt);
}
params.follows.flags(FOLLOWS_LEFT | FOLLOWS_BOTTOM);