For EXT-2584: Select and rename new folder when creating new outfit; currently works for new outfit created in side panel, but not in appearance editor
--HG-- branch : avatar-pipelinemeow-7.2.2
parent
c812c616ea
commit
b6c93cf540
|
|
@ -144,17 +144,20 @@ 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();
|
||||
if (getRootFolder()->needsAutoRename())
|
||||
{
|
||||
getRootFolder()->startRenamingSelectedItem();
|
||||
getRootFolder()->setNeedsAutoRename(FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
void LLPanelOutfitsInventory::onSelectorButtonClicked()
|
||||
|
|
|
|||
Loading…
Reference in New Issue