EXT-7475 FIXED Added callback to update verbs in My Inventory SP when tab in inventory panel is changed.

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/597/

--HG--
branch : product-engine
meow-7.2.2
Mike Antipov 2010-06-16 16:11:19 +03:00
parent 83c1ca9a05
commit 81e2aad388
1 changed files with 2 additions and 0 deletions

View File

@ -88,6 +88,8 @@ BOOL LLSidepanelInventory::postBuild()
mPanelMainInventory = mInventoryPanel->getChild<LLPanelMainInventory>("panel_main_inventory");
mPanelMainInventory->setSelectCallback(boost::bind(&LLSidepanelInventory::onSelectionChange, this, _1, _2));
LLTabContainer* tabs = mPanelMainInventory->getChild<LLTabContainer>("inventory filter tabs");
tabs->setCommitCallback(boost::bind(&LLSidepanelInventory::updateVerbs, this));
/*
EXT-4846 : "Can we suppress the "Landmarks" and "My Favorites" folder since they have their own Task Panel?"