diff options
| author | richard <none@none> | 2010-02-05 13:20:26 -0800 |
|---|---|---|
| committer | richard <none@none> | 2010-02-05 13:20:26 -0800 |
| commit | b4f4af60ce701c724ac67cf24641589959401373 (patch) | |
| tree | 65463956f06e86f59e71c8cc4dc0a620f2427336 /indra/llui/llspinctrl.cpp | |
| parent | 02511c41713da468a5e2620a8bc1bb0fcdfd64da (diff) | |
| parent | 9c1198d57d85918d02daf058b3feebe37a5760a8 (diff) | |
merge
Diffstat (limited to 'indra/llui/llspinctrl.cpp')
| -rw-r--r-- | indra/llui/llspinctrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llspinctrl.cpp b/indra/llui/llspinctrl.cpp index 28f3788817..491cd7b6f3 100644 --- a/indra/llui/llspinctrl.cpp +++ b/indra/llui/llspinctrl.cpp @@ -127,7 +127,7 @@ LLSpinCtrl::LLSpinCtrl(const LLSpinCtrl::Params& p) } params.max_length_bytes(MAX_STRING_LENGTH); params.commit_callback.function((boost::bind(&LLSpinCtrl::onEditorCommit, this, _2))); - params.prevalidate_callback(&LLLineEditor::prevalidateFloat); + params.prevalidate_callback(&LLTextValidate::validateFloat); params.follows.flags(FOLLOWS_LEFT | FOLLOWS_BOTTOM); mEditor = LLUICtrlFactory::create<LLLineEditor> (params); mEditor->setFocusReceivedCallback( boost::bind(&LLSpinCtrl::onEditorGainFocus, _1, this )); |
