summaryrefslogtreecommitdiff
path: root/indra/newview/llpaneloutfitsinventory.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2009-11-17 15:06:27 -0500
committerLoren Shih <seraph@lindenlab.com>2009-11-17 15:06:27 -0500
commit2b0a997b13de15c7aae009b52d7353c97e1781f3 (patch)
treec0422533fcc6086c5f67ae7d1b5fc26635efa558 /indra/newview/llpaneloutfitsinventory.cpp
parent08cbeea3c72be69137b7ca7d4a95cc7d80fc176e (diff)
Small fix for updating enabled state of Wear/Edit buttons.
--HG-- branch : avatar-pipeline
Diffstat (limited to 'indra/newview/llpaneloutfitsinventory.cpp')
-rw-r--r--indra/newview/llpaneloutfitsinventory.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llpaneloutfitsinventory.cpp b/indra/newview/llpaneloutfitsinventory.cpp
index 5ad9bf056e..c4bde369db 100644
--- a/indra/newview/llpaneloutfitsinventory.cpp
+++ b/indra/newview/llpaneloutfitsinventory.cpp
@@ -148,12 +148,16 @@ void LLPanelOutfitsInventory::onNew()
{
const std::string& outfit_name = LLViewerFolderType::lookupNewCategoryName(LLFolderType::FT_OUTFIT);
LLUUID outfit_folder = gAgentWearables.makeNewOutfitLinks(outfit_name);
+ /*
getRootFolder()->setSelectionByID(outfit_folder, TRUE);
getRootFolder()->setNeedsAutoRename(TRUE);
+ getRootFolder()->startRenamingSelectedItem();
+ */
}
void LLPanelOutfitsInventory::onSelectionChange(const std::deque<LLFolderViewItem*> &items, BOOL user_action)
{
+ updateListCommands();
updateParent();
}