summaryrefslogtreecommitdiff
path: root/indra/newview/llfloateroutbox.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-03-14 17:34:15 -0700
committerMerov Linden <merov@lindenlab.com>2014-03-14 17:34:15 -0700
commit68dbb5692f11eed39175ebf3313d96b5430231f9 (patch)
tree49f0f2dc15dbbffb11085e4402159e548bbb4a24 /indra/newview/llfloateroutbox.cpp
parentb6f51a0e94bc1cfcdc87faf081e520c43fa97042 (diff)
DD-17 : WIP : Add live status to active listing folders, clean up getLabelSuffix() code a bit
Diffstat (limited to 'indra/newview/llfloateroutbox.cpp')
-rwxr-xr-xindra/newview/llfloateroutbox.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/indra/newview/llfloateroutbox.cpp b/indra/newview/llfloateroutbox.cpp
index 2ed4605e0c..d9bc3a1ce0 100755
--- a/indra/newview/llfloateroutbox.cpp
+++ b/indra/newview/llfloateroutbox.cpp
@@ -743,12 +743,15 @@ void LLFloaterMarketplaceListings::onOpen(const LLSD& key)
for (LLInventoryModel::cat_array_t::iterator iter = cats->begin(); iter != cats->end(); iter++, index++)
{
LLViewerInventoryCategory* category = *iter;
- LLMarketplaceData::instance().addTestItem(category->getUUID());
- if (index%2)
+ if (index%3)
{
- LLMarketplaceData::instance().setListingID(category->getUUID(),"TestingID1234");
+ LLMarketplaceData::instance().addTestItem(category->getUUID());
+ if (index%3 == 1)
+ {
+ LLMarketplaceData::instance().setListingID(category->getUUID(),"TestingID1234");
+ }
+ LLMarketplaceData::instance().setActivation(category->getUUID(),(index%2));
}
- LLMarketplaceData::instance().setActivation(category->getUUID(),(index%3 == 0));
}
}