aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/lllineeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui/lllineeditor.cpp')
-rw-r--r--linden/indra/llui/lllineeditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llui/lllineeditor.cpp b/linden/indra/llui/lllineeditor.cpp
index 05966d6..8d88ce9 100644
--- a/linden/indra/llui/lllineeditor.cpp
+++ b/linden/indra/llui/lllineeditor.cpp
@@ -176,7 +176,7 @@ LLLineEditor::LLLineEditor(const std::string& name, const LLRect& rect,
176 mReplaceNewlinesWithSpaces( TRUE ), 176 mReplaceNewlinesWithSpaces( TRUE ),
177 mSpellCheckable( FALSE ), 177 mSpellCheckable( FALSE ),
178 mShowMisspellings(FALSE), 178 mShowMisspellings(FALSE),
179 mAllowTranslate(FALSE) 179 mAllowTranslate(TRUE)
180{ 180{
181 llassert( max_length_bytes > 0 ); 181 llassert( max_length_bytes > 0 );
182 182
@@ -2885,7 +2885,7 @@ LLView* LLLineEditor::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory
2885 { 2885 {
2886 line_editor->setSpellCheckable(spell_checking); 2886 line_editor->setSpellCheckable(spell_checking);
2887 } 2887 }
2888 BOOL allow_translate = FALSE; 2888 BOOL allow_translate = TRUE;
2889 if (node->getAttributeBOOL("allow_translate", allow_translate)) 2889 if (node->getAttributeBOOL("allow_translate", allow_translate))
2890 { 2890 {
2891 line_editor->setAllowTranslate(allow_translate); 2891 line_editor->setAllowTranslate(allow_translate);