diff options
author | Monroe Linden <monroe@lindenlab.com> | 2010-07-15 16:32:50 -0700 |
---|---|---|
committer | Monroe Linden <monroe@lindenlab.com> | 2010-07-15 16:32:50 -0700 |
commit | 551f74125bacfe8353a4b13692d2fdb0cc29958b (patch) | |
tree | dd88ed62b786f891ad48d4302b4fdb3fea4fdf19 /indra/llui/lltextbase.cpp | |
parent | 39f241aad283d2f051ae7f093bbd650f16486df0 (diff) |
Changes to allow disabling an LLTextBox (or LLTextBox subclass) to gray out the text.
Due to some legacy issues, text boxes will not gray out on disable unless they have their text_readonly_color property in xui set to "LabelDisabledColor" (or some other color distinct from their text color).
Reviewed by Richard.
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rw-r--r-- | indra/llui/lltextbase.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index ed03645944..5175583dc9 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -269,9 +269,6 @@ void LLTextBase::initFromParams(const LLTextBase::Params& p) { mReadOnly = p.read_only; } - - // HACK: text editors always need to be enabled so that we can scroll - LLView::setEnabled(true); } bool LLTextBase::truncate() |