summaryrefslogtreecommitdiff
path: root/indra/llui/lltimectrl.cpp
diff options
context:
space:
mode:
authorPaul ProductEngine <pguslisty@productengine.com>2011-05-16 17:59:05 +0300
committerPaul ProductEngine <pguslisty@productengine.com>2011-05-16 17:59:05 +0300
commit5daeefd35e1e105f403f99184ad866e8823767d4 (patch)
tree0aea0d8854469b9ac6b5cdb536fbd419649bf516 /indra/llui/lltimectrl.cpp
parent683c9ff3f8e662c1906e5ee6319f7d46513bca81 (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.cpp2
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);