From 89449c3f389a20944a6161a22c3048a0cde2e7da Mon Sep 17 00:00:00 2001
From: Ychebotarev ProductEngine <ychebotarev@productengine.com>
Date: Thu, 21 Jan 2010 15:17:44 +0200
Subject: [PATCH] fix for normal EXT-4035 Old sidepanel tab's text remains
 highlighted when switching to inventory sidepanel tab

--HG--
branch : product-engine
---
 indra/llui/llfloater.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp
index 4f519afa06c..79d8f90fec6 100644
--- a/indra/llui/llfloater.cpp
+++ b/indra/llui/llfloater.cpp
@@ -1360,6 +1360,7 @@ void LLFloater::bringToFront( S32 x, S32 y )
 // virtual
 void LLFloater::setVisibleAndFrontmost(BOOL take_focus)
 {
+	gFocusMgr.setTopCtrl(NULL);
 	setVisible(TRUE);
 	setFrontmost(take_focus);
 }
-- 
GitLab