From b7fbcef2983f9d15d6850b0141814f46a733ac2a Mon Sep 17 00:00:00 2001
From: MaximB ProductEngine <mberezhnoy@productengine.com>
Date: Fri, 11 Oct 2013 23:06:25 +0300
Subject: [PATCH] MAINT-3289 (User is not able to open mini inspector by one
 click on 'i' icon)

---
 indra/llui/lltexteditor.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp
index 7f309a5ff6b..62140dd9d67 100755
--- a/indra/llui/lltexteditor.cpp
+++ b/indra/llui/lltexteditor.cpp
@@ -729,7 +729,7 @@ BOOL LLTextEditor::handleMouseDown(S32 x, S32 y, MASK mask)
 	// Delay cursor flashing
 	resetCursorBlink();
 
-	if (handled)
+	if (handled && !gFocusMgr.getMouseCapture())
 	{
 		gFocusMgr.setMouseCapture( this );
 	}
-- 
GitLab