diff options
author | Kadah_Coba <none@none> | 2011-07-04 14:20:52 -0700 |
---|---|---|
committer | Kadah_Coba <none@none> | 2011-07-04 14:20:52 -0700 |
commit | 57c30517817a6458edab6bfdfad7d7112467ca48 (patch) | |
tree | a2a9c3b76bfb258be53bcd4c12490c1d569260d8 /indra/llui/llspinctrl.cpp | |
parent | bb410e9576c582594e61b7f0dc0723eb5640f8ed (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.cpp | 10 |
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); |