diff options
author | Oz Linden <oz@lindenlab.com> | 2011-09-19 16:58:21 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-09-19 16:58:21 -0400 |
commit | 1911586ce41e1b77be8e1e9e88c0de4c508e1b42 (patch) | |
tree | 9cf1e058b26db11b29152f90bf88f027d4a21190 /indra/newview/llpanelmarketplaceoutbox.cpp | |
parent | 9ac33479aa2fa2a0ad7ec5903bc364a07d1a8c74 (diff) | |
parent | 1d3f6ef432b714a7659e9a5ee62377e56a843006 (diff) |
storm-1610
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 |