summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-06-16 16:11:19 +0300
committerMike Antipov <mantipov@productengine.com>2010-06-16 16:11:19 +0300
commit81e2aad38828b753e31e8a907aaa59f4aacd48b7 (patch)
tree57599c39d19701e24f29f6b0590261d1b38ca461 /indra
parent83c1ca9a0539e7c458927c88f7795963f56b4bf7 (diff)
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
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llsidepanelinventory.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llsidepanelinventory.cpp b/indra/newview/llsidepanelinventory.cpp
index fc5143d33b..63b6fe5ef0 100644
--- a/indra/newview/llsidepanelinventory.cpp
+++ b/indra/newview/llsidepanelinventory.cpp
@@ -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?"