summaryrefslogtreecommitdiff
path: root/indra/newview/llexpandabletextbox.cpp
diff options
context:
space:
mode:
authorCho <cho@lindenlab.com>2014-08-20 00:46:49 +0100
committerCho <cho@lindenlab.com>2014-08-20 00:46:49 +0100
commit55ed31173798a7d5a3b7cb42c6d6d552820c5e14 (patch)
tree1311e0cf94c5290d90314ab17b25b2975d47a18e /indra/newview/llexpandabletextbox.cpp
parent5b82645ba2db049589cdc2f22c8c63794b949772 (diff)
Reverted change to expandable_text, to use pre-existing functionality to fix ACME-1583
Diffstat (limited to 'indra/newview/llexpandabletextbox.cpp')
-rwxr-xr-xindra/newview/llexpandabletextbox.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/newview/llexpandabletextbox.cpp b/indra/newview/llexpandabletextbox.cpp
index b8a3b73c5c..f2602c8c7d 100755
--- a/indra/newview/llexpandabletextbox.cpp
+++ b/indra/newview/llexpandabletextbox.cpp
@@ -211,7 +211,6 @@ LLExpandableTextBox::Params::Params()
: textbox("textbox"),
scroll("scroll"),
max_height("max_height", 0),
- max_text_length("max_length", 255),
bg_visible("bg_visible", false),
expanded_bg_visible("expanded_bg_visible", true),
bg_color("bg_color", LLColor4::black),
@@ -237,7 +236,6 @@ LLExpandableTextBox::LLExpandableTextBox(const Params& p)
LLTextBoxEx::Params textbox_params = p.textbox;
textbox_params.rect(rc);
- textbox_params.max_text_length = p.max_text_length;
mTextBox = LLUICtrlFactory::create<LLTextBoxEx>(textbox_params);
mScroll->addChild(mTextBox);