From 2f1bef16dc4549993db581ce410924c9b9966341 Mon Sep 17 00:00:00 2001 From: Merov Linden Date: Thu, 27 Mar 2014 10:53:50 -0700 Subject: DD-40 : Fix display of message when marketplace listings folder empty, clean up spam in log --- indra/newview/llfloatermarketplacelistings.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/indra/newview/llfloatermarketplacelistings.cpp b/indra/newview/llfloatermarketplacelistings.cpp index 00e4ea05f3..814f1b218a 100755 --- a/indra/newview/llfloatermarketplacelistings.cpp +++ b/indra/newview/llfloatermarketplacelistings.cpp @@ -91,8 +91,6 @@ void LLPanelMarketplaceListings::onViewSortMenuItemClicked(const LLSD& userdata) { std::string chosen_item = userdata.asString(); - llinfos << "Merov : MenuItemClicked, item = " << chosen_item << llendl; - // Sort options if (chosen_item == "sort_by_stock_amount") { @@ -129,8 +127,6 @@ bool LLPanelMarketplaceListings::onViewSortMenuItemCheck(const LLSD& userdata) { std::string chosen_item = userdata.asString(); - llinfos << "Merov : MenuItemCheck, item = " << chosen_item << ", filter type = " << mFilterType << llendl; - if (chosen_item == "sort_by_stock_amount") return mSortOrder == LLInventoryFilter::SO_FOLDERS_BY_WEIGHT; if (chosen_item == "show_all") @@ -397,10 +393,8 @@ void LLFloaterMarketplaceListings::updateView() } else { - if (mPanelListings) - { - mPanelListings->setVisible(FALSE); - } + mPanelListings->setVisible(FALSE); + mInventoryPlaceholder->setVisible(TRUE); std::string text; std::string title; -- cgit v1.2.3