diff options
author | Leslie Linden <leslie@lindenlab.com> | 2011-09-20 15:18:49 -0700 |
---|---|---|
committer | Leslie Linden <leslie@lindenlab.com> | 2011-09-20 15:18:49 -0700 |
commit | eb3a643f3bcddb159622e2d38ef65f661b204653 (patch) | |
tree | c33e9db5e102f3099091a0e90fdfc26ad1e8db42 /indra/newview/llpanelmarketplaceoutbox.cpp | |
parent | 3df9545017a4835e162801d3e8a13d68c8bc44ad (diff) | |
parent | 938f1b4f41683e1a3aaa424d3d7bac5b0772d09c (diff) |
Merge from viewer-experience
Diffstat (limited to 'indra/newview/llpanelmarketplaceoutbox.cpp')
-rw-r--r-- | indra/newview/llpanelmarketplaceoutbox.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llpanelmarketplaceoutbox.cpp b/indra/newview/llpanelmarketplaceoutbox.cpp index 839369bffe..73fb92ff72 100644 --- a/indra/newview/llpanelmarketplaceoutbox.cpp +++ b/indra/newview/llpanelmarketplaceoutbox.cpp @@ -117,8 +117,11 @@ LLInventoryPanel * LLPanelMarketplaceOutbox::setupInventoryPanel() LLRect inventory_placeholder_rect = outbox_inventory_placeholder->getRect(); mInventoryPanel->setShape(inventory_placeholder_rect); - // Set the sort order newest to oldest, and a selection change callback + // Set the sort order newest to oldest mInventoryPanel->setSortOrder(LLInventoryFilter::SO_DATE); + mInventoryPanel->getFilter()->markDefault(); + + // Set selection callback for proper update of inventory status buttons mInventoryPanel->setSelectCallback(boost::bind(&LLPanelMarketplaceOutbox::onSelectionChange, this)); // Set up the note to display when the outbox is empty |