summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorybridge.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-03-31 16:17:10 -0700
committerMerov Linden <merov@lindenlab.com>2014-03-31 16:17:10 -0700
commitec290cd059d80519ff6891149306586819ac008d (patch)
tree2b55f5b5c6dae26c1273af98fdf3ac3805b0c943 /indra/newview/llinventorybridge.cpp
parente624e6ab9ea8c27c2649f6f0391b0f7d1362fda3 (diff)
DD-18 : WIP : Implement stock folder counting but no propagation so far, also update is not working
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rwxr-xr-xindra/newview/llinventorybridge.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index d0abe6db29..bf56be320f 100755
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -1973,8 +1973,9 @@ std::string LLFolderBridge::getLabelSuffix() const
}
else if (getCategory()->getPreferredType() == LLFolderType::FT_MARKETPLACE_STOCK)
{
- //llinfos << "Merov : in merchant folder and is a stock folder : id = " << getUUID() << llendl;
- std::string suffix = " (" + LLTrans::getString("MarketplaceStock") + ")";
+ llinfos << "Merov : in merchant folder and is a stock folder : name = " << getCategory()->getName() << ", stock = " << getCategory()->getDescendentCount() << llendl;
+ std::string stock = llformat("%d", getCategory()->getDescendentCount());
+ std::string suffix = " (" + LLTrans::getString("MarketplaceStock") + ") (" + stock + ")";
return LLInvFVBridge::getLabelSuffix() + suffix;
}
else