diff options
| author | Leyla Farazha <leyla@lindenlab.com> | 2010-09-16 09:38:05 -0700 |
|---|---|---|
| committer | Leyla Farazha <leyla@lindenlab.com> | 2010-09-16 09:38:05 -0700 |
| commit | ae623c8068145f968f09ccf9bbdd90e993ca4283 (patch) | |
| tree | 29cffd02ee00b447c07e4cd40a2e0fa9b8cc30a3 /indra/llui/llspinctrl.cpp | |
| parent | e27ac0abf7bef6e61c2d81911cc0c693206ee401 (diff) | |
Set display name field now clamps to 31 unicode characters
Added ability to set max length in line editors by characters in addition to bytes
left other widgets (comboboxes/spinners) using the bytes, but it can easily be changed over
reviewed by Richard
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 9decfa0b25..6b4e9cf923 100644 --- a/indra/llui/llspinctrl.cpp +++ b/indra/llui/llspinctrl.cpp @@ -119,7 +119,7 @@ LLSpinCtrl::LLSpinCtrl(const LLSpinCtrl::Params& p) { params.font(p.font); } - params.max_length_bytes(MAX_STRING_LENGTH); + params.max_length.bytes(MAX_STRING_LENGTH); params.commit_callback.function((boost::bind(&LLSpinCtrl::onEditorCommit, this, _2))); if( mPrecision>0 )//should accept float numbers |
