summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2014-01-30 12:17:59 +0200
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2014-01-30 12:17:59 +0200
commit31cc47f9d6e5af04eb39944a41f7ce74a5b7c6f2 (patch)
tree1720472e3cec6daa9dae2d1bf7f8aafc3df2f3d5
parent31c9be174fe24580cfdb6841fcbe6e45c43e5abd (diff)
MAINT-3593 FIXED Clear previous selection properly when selecting new item in another panel(Inventory/Inbox).
-rwxr-xr-xindra/newview/llsidepanelinventory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llsidepanelinventory.cpp b/indra/newview/llsidepanelinventory.cpp
index cbf43dbb93..fe844ce5e4 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();