summaryrefslogtreecommitdiff
path: root/indra/llui/lllineeditor.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2011-09-15 16:09:17 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2011-09-15 16:09:17 -0400
commit92fa144dcea4cbb6426b895cf5359da0c90eb4ae (patch)
treefc9f7dd3f875be8d50cc13050664b1f43ed0a93f /indra/llui/lllineeditor.cpp
parent758b936deaa0e6ea397c49afa5024315415eeb93 (diff)
parentb2d20f5a989bde2c4db90091bec37d310cc346fc (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)