summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeslie Linden <none@none>2011-07-07 12:54:08 -0700
committerLeslie Linden <none@none>2011-07-07 12:54:08 -0700
commite4bb8a442dbaff26ef305945a6768e386b634718 (patch)
treea2f4174073e3449b39e25459b3a22f2f122b0281
parent791da71c3ea45130cd3817a059a18418e43269b0 (diff)
EXP-984 FIX -- My Inventory listing scrolls to bottom when Received Items panel is loaded with several items present
* Updated initial view setup to clear selection from "My Inventory" or the root folder after opening it. Reviewed by Richard.
-rw-r--r--indra/newview/llinventorypanel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp
index 84199a895a..702e8d5a1f 100644
--- a/indra/newview/llinventorypanel.cpp
+++ b/indra/newview/llinventorypanel.cpp
@@ -814,6 +814,7 @@ void LLInventoryPanel::openStartFolderOrMyInventory()
{
const std::string& child_name = child->getName();
mFolderRoot->openFolder(child_name);
+ mFolderRoot->clearSelection(); // No need to keep it selected though!
break;
}
}