summaryrefslogtreecommitdiff
path: root/indra/llui/llspinctrl.cpp
diff options
context:
space:
mode:
authorKadah_Coba <none@none>2011-07-04 14:20:52 -0700
committerKadah_Coba <none@none>2011-07-04 14:20:52 -0700
commit57c30517817a6458edab6bfdfad7d7112467ca48 (patch)
treea2a9c3b76bfb258be53bcd4c12490c1d569260d8 /indra/llui/llspinctrl.cpp
parentbb410e9576c582594e61b7f0dc0723eb5640f8ed (diff)
Changes for STORM-1315 LLCalc
Removed dynamic allocation on mVariables and mConstants CS cleanup
Diffstat (limited to 'indra/llui/llspinctrl.cpp')
-rw-r--r--indra/llui/llspinctrl.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/indra/llui/llspinctrl.cpp b/indra/llui/llspinctrl.cpp
index b76d604953..934879cdfd 100644
--- a/indra/llui/llspinctrl.cpp
+++ b/indra/llui/llspinctrl.cpp
@@ -124,15 +124,7 @@ LLSpinCtrl::LLSpinCtrl(const LLSpinCtrl::Params& p)
params.max_length.bytes(MAX_STRING_LENGTH);
params.commit_callback.function((boost::bind(&LLSpinCtrl::onEditorCommit, this, _2)));
- //allow entering of any chars for LLCalc, proper input will be evaluated on commit
- //if( mPrecision>0 )//should accept float numbers
- //{
- // params.prevalidate_callback(&LLTextValidate::validateFloat);
- //}
- //else //should accept int numbers
- //{
- // params.prevalidate_callback(&LLTextValidate::validateInt);
- //}
+ //*NOTE: allow entering of any chars for LLCalc, proper input will be evaluated on commit
params.follows.flags(FOLLOWS_LEFT | FOLLOWS_BOTTOM);
mEditor = LLUICtrlFactory::create<LLLineEditor> (params);