Skip to content
Snippets Groups Projects
Commit 93b2f1a0 authored by Tofu Linden's avatar Tofu Linden
Browse files

VWR-22162 FIXED 'I can't add negative signs to TWIST in Edit Mode'

Probably a regression from the prevalidator rework - was enforcing non-negative int when precision=0 (i.e. non-float), should have been enforcing only full int range.
parent 0d144b0a
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment