aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui')
-rw-r--r--linden/indra/llui/lllineeditor.cpp4
-rw-r--r--linden/indra/llui/lltexteditor.cpp2
2 files changed, 3 insertions, 3 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);
diff --git a/linden/indra/llui/lltexteditor.cpp b/linden/indra/llui/lltexteditor.cpp
index d59eed6..5ee94c8 100644
--- a/linden/indra/llui/lltexteditor.cpp
+++ b/linden/indra/llui/lltexteditor.cpp
@@ -331,7 +331,7 @@ LLTextEditor::LLTextEditor(
331 mScrollNeeded(FALSE), 331 mScrollNeeded(FALSE),
332 mSpellCheckable(FALSE), 332 mSpellCheckable(FALSE),
333 mShowMisspellings(FALSE), 333 mShowMisspellings(FALSE),
334 mAllowTranslate(FALSE) 334 mAllowTranslate(TRUE)
335{ 335{
336 mSourceID.generate(); 336 mSourceID.generate();
337 337