summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorypanel.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-08-15 16:35:41 -0400
committerOz Linden <oz@lindenlab.com>2011-08-15 16:35:41 -0400
commitcb957d3dabfd0a419cb70461cc5bf3af2adba7a3 (patch)
treeac9978539aa02d80bf8c026aa3b2e1ba85404ecf /indra/newview/llinventorypanel.cpp
parent7819b49086729187e198bf69f9c45f1c63f11ff2 (diff)
parentb8320207bb911a311a498426fdd4a987dd7748ea (diff)
merge late 3.0.1 beta candidate fixes
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;
}
}