summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-06-19 15:45:38 -0700
committerMerov Linden <merov@lindenlab.com>2014-06-19 15:45:38 -0700
commit75cd973df01491bc61bda3e91aa55aec96046343 (patch)
tree34336ea7755bf79bba1317eae383c1d148c96879
parent9c792f03b4f006f5083c9fc98047bfad6bee8e16 (diff)
DD-83 : New listing folders immediately renamable on creation
-rwxr-xr-xindra/newview/llfloatermarketplacelistings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llfloatermarketplacelistings.cpp b/indra/newview/llfloatermarketplacelistings.cpp
index 1d8097a813..8778839fea 100755
--- a/indra/newview/llfloatermarketplacelistings.cpp
+++ b/indra/newview/llfloatermarketplacelistings.cpp
@@ -112,6 +112,7 @@ void LLPanelMarketplaceListings::onAddButtonClicked()
LLUUID category = gInventory.createNewCategory(marketplacelistings_id, preferred_type, LLStringUtil::null);
gInventory.notifyObservers();
mAllPanel->setSelectionByID(category, TRUE);
+ mAllPanel->getRootFolder()->setNeedsAutoRename(TRUE);
}
void LLPanelMarketplaceListings::onAuditButtonClicked()