From 31cc47f9d6e5af04eb39944a41f7ce74a5b7c6f2 Mon Sep 17 00:00:00 2001
From: Mnikolenko ProductEngine <mnikolenko@productengine.com>
Date: Thu, 30 Jan 2014 12:17:59 +0200
Subject: [PATCH] MAINT-3593 FIXED Clear previous selection properly when
 selecting new item in another panel(Inventory/Inbox).

---
 indra/newview/llsidepanelinventory.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/indra/newview/llsidepanelinventory.cpp b/indra/newview/llsidepanelinventory.cpp
index cbf43dbb937..fe844ce5e4d 100755
--- a/indra/newview/llsidepanelinventory.cpp
+++ b/indra/newview/llsidepanelinventory.cpp
@@ -710,13 +710,13 @@ void LLSidepanelInventory::clearSelections(bool clearMain, bool clearInbox)
 		
 		if (inv_panel)
 		{
-			inv_panel->clearSelection();
+			inv_panel->getRootFolder()->clearSelection();
 		}
 	}
 	
 	if (clearInbox && mInboxEnabled && (mInventoryPanelInbox != NULL))
 	{
-		mInventoryPanelInbox->clearSelection();
+		mInventoryPanelInbox->getRootFolder()->clearSelection();
 	}
 	
 	updateVerbs();
-- 
GitLab