summaryrefslogtreecommitdiff
path: root/indra/llui/lllineeditor.cpp
diff options
context:
space:
mode:
authorLogan Dethrow <log@lindenlab.com>2011-09-19 14:50:08 -0400
committerLogan Dethrow <log@lindenlab.com>2011-09-19 14:50:08 -0400
commit5b7b3cbbbbec439880a33af8944d10c7bb527c3a (patch)
tree3e37afeba3e2bb67f53327719de72b4506d2605e /indra/llui/lllineeditor.cpp
parentc7dd3aac83eb9bde5fe0febaebcd998847bf1889 (diff)
parent2fba01d160716b886a7dfc0c86abda767a25d23f (diff)
Merge
Diffstat (limited to 'indra/llui/lllineeditor.cpp')
-rw-r--r--indra/llui/lllineeditor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llui/lllineeditor.cpp b/indra/llui/lllineeditor.cpp
index 06fbc0f234..ebdd47ae80 100644
--- a/indra/llui/lllineeditor.cpp
+++ b/indra/llui/lllineeditor.cpp
@@ -103,10 +103,11 @@ LLLineEditor::Params::Params()
text_pad_right("text_pad_right"),
default_text("default_text")
{
- mouse_opaque = true;
+ changeDefault(mouse_opaque, true);
addSynonym(select_on_focus, "select_all_on_focus_received");
addSynonym(border, "border");
addSynonym(label, "watermark_text");
+ addSynonym(max_length.chars, "max_length");
}
LLLineEditor::LLLineEditor(const LLLineEditor::Params& p)