diff options
author | Loren Shih <seraph@lindenlab.com> | 2009-11-16 14:23:46 -0500 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2009-11-16 14:23:46 -0500 |
commit | 909125258dabd0722785519f689d20608bb13fc1 (patch) | |
tree | 42d18ae988dfd70022e272ee7843e61025e0b5f7 /indra/newview/llinventorypanel.cpp | |
parent | 85e142b949c83c674d316493ddaed71661e73066 (diff) |
Minor cleanup, changed inventorypanel start folder special casing keyword "INVENTORY" to using generic "My Inventory" keyword.
--HG--
branch : avatar-pipeline
Diffstat (limited to 'indra/newview/llinventorypanel.cpp')
-rw-r--r-- | indra/newview/llinventorypanel.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index 129178e42e..c113b9f0d0 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -149,11 +149,7 @@ BOOL LLInventoryPanel::postBuild() // of that folder (i.e. not including the folder itself).
const LLFolderType::EType preferred_type = LLViewerFolderType::lookupTypeFromNewCategoryName(mStartFolderString);
- if ("INVENTORY" == mStartFolderString)
- {
- mStartFolderID = gInventory.getRootFolderID();
- }
- else if ("LIBRARY" == mStartFolderString)
+ if ("LIBRARY" == mStartFolderString)
{
mStartFolderID = gInventory.getLibraryRootFolderID();
}
|