summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorypanel.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2011-08-18 17:25:48 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2011-08-18 17:25:48 -0400
commit0325d9060e40bb02794c1cf720188d73db5ca8a6 (patch)
tree4a8e44dbee085cb5157f2befe19e7157177743a2 /indra/newview/llinventorypanel.cpp
parente0bf0e3e2150304e7b26c18c274273c18653965b (diff)
parentb2ef0f99882db73680cc5dfb9570255414f7ba6d (diff)
merge
Diffstat (limited to 'indra/newview/llinventorypanel.cpp')
-rw-r--r--indra/newview/llinventorypanel.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp
index d5d40ca65d..1aa402802e 100644
--- a/indra/newview/llinventorypanel.cpp
+++ b/indra/newview/llinventorypanel.cpp
@@ -812,9 +812,7 @@ void LLInventoryPanel::openStartFolderOrMyInventory()
&& fchild->getListener()
&& fchild->getListener()->getUUID() == gInventory.getRootFolderID())
{
- const std::string& child_name = child->getName();
- mFolderRoot->openFolder(child_name);
- mFolderRoot->clearSelection(); // No need to keep it selected though!
+ fchild->setOpen(TRUE);
break;
}
}