diff options
author | Merov Linden <merov@lindenlab.com> | 2014-03-31 16:17:10 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-03-31 16:17:10 -0700 |
commit | ec290cd059d80519ff6891149306586819ac008d (patch) | |
tree | 2b55f5b5c6dae26c1273af98fdf3ac3805b0c943 /indra/newview/llinventorybridge.cpp | |
parent | e624e6ab9ea8c27c2649f6f0391b0f7d1362fda3 (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-x | indra/newview/llinventorybridge.cpp | 5 |
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 |