From 6083fd1cbef478c15c49055d27270d0a6f2ddfa2 Mon Sep 17 00:00:00 2001
From: Mnikolenko Productengine <mnikolenko@productengine.com>
Date: Mon, 7 Nov 2016 12:33:14 +0200
Subject: [PATCH] STORM-2140 LLLineEditor enabled-state cannot properly set via
 XUI

---
 doc/contributions.txt       | 1 +
 indra/llui/lllineeditor.cpp | 1 +
 2 files changed, 2 insertions(+)

diff --git a/doc/contributions.txt b/doc/contributions.txt
index c0c4f7837e6..00e09e452fb 100755
--- a/doc/contributions.txt
+++ b/doc/contributions.txt
@@ -205,6 +205,7 @@ Ansariel Hiller
 	MAINT-6752
 	MAINT-6773
 	MAINT-6906
+	STORM-2140
 Aralara Rajal
 Arare Chantilly
 	CHUIBUG-191
diff --git a/indra/llui/lllineeditor.cpp b/indra/llui/lllineeditor.cpp
index c89e1dac1d1..118339577ac 100644
--- a/indra/llui/lllineeditor.cpp
+++ b/indra/llui/lllineeditor.cpp
@@ -335,6 +335,7 @@ void LLLineEditor::reshape(S32 width, S32 height, BOOL called_from_parent)
 
 void LLLineEditor::setEnabled(BOOL enabled)
 {
+	LLUICtrl::setEnabled(enabled);
 	mReadOnly = !enabled;
 	setTabStop(!mReadOnly);
 	updateAllowingLanguageInput();
-- 
GitLab