diff options
author | Paul ProductEngine <pguslisty@productengine.com> | 2011-05-16 17:59:05 +0300 |
---|---|---|
committer | Paul ProductEngine <pguslisty@productengine.com> | 2011-05-16 17:59:05 +0300 |
commit | 5daeefd35e1e105f403f99184ad866e8823767d4 (patch) | |
tree | 0aea0d8854469b9ac6b5cdb536fbd419649bf516 /indra/llui/lltimectrl.cpp | |
parent | 683c9ff3f8e662c1906e5ee6319f7d46513bca81 (diff) |
STORM-1202 Code cleanup for LLLineEditor
- Removed code duplication
- Renamed prevalidateInputText to prevalidateInput
Diffstat (limited to 'indra/llui/lltimectrl.cpp')
-rw-r--r-- | indra/llui/lltimectrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lltimectrl.cpp b/indra/llui/lltimectrl.cpp index 33e8db432f..08d24a29a8 100644 --- a/indra/llui/lltimectrl.cpp +++ b/indra/llui/lltimectrl.cpp @@ -106,7 +106,7 @@ LLTimeCtrl::LLTimeCtrl(const LLTimeCtrl::Params& p) params.max_length.chars(8); params.keystroke_callback(boost::bind(&LLTimeCtrl::onTextEntry, this, _1)); mEditor = LLUICtrlFactory::create<LLLineEditor> (params); - mEditor->setPrevalidateInputText(LLTextValidate::validateNonNegativeS32NoSpace); + mEditor->setPrevalidateInput(LLTextValidate::validateNonNegativeS32NoSpace); mEditor->setPrevalidate(boost::bind(&LLTimeCtrl::isTimeStringValid, this, _1)); mEditor->setText(LLStringExplicit("0:00 AM")); addChild(mEditor); |