diff options
author | Merov Linden <merov@lindenlab.com> | 2014-03-27 10:53:50 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-03-27 10:53:50 -0700 |
commit | 2f1bef16dc4549993db581ce410924c9b9966341 (patch) | |
tree | 02bcf4212ef599311c77c4bad93a0f3c4c4bd015 | |
parent | 1a03f7f6052fc02f4ecc3da85bd0f0d54df21fd1 (diff) |
DD-40 : Fix display of message when marketplace listings folder empty, clean up spam in log
-rwxr-xr-x | indra/newview/llfloatermarketplacelistings.cpp | 10 |
1 files 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; |