parent
342eee5038
commit
f92c2040b9
|
|
@ -239,11 +239,6 @@ bool LLPanelMainInventory::postBuild()
|
|||
}
|
||||
|
||||
}
|
||||
mParentSidepanel = getParentSidepanelInventory();
|
||||
if (mParentSidepanel)
|
||||
{
|
||||
mInboxPanel = mParentSidepanel->getChild<LLPanelMarketplaceInbox>("marketplace_inbox");
|
||||
}
|
||||
|
||||
mFilterEditor = getChild<LLFilterEditor>("inventory search editor");
|
||||
if (mFilterEditor)
|
||||
|
|
|
|||
|
|
@ -139,6 +139,9 @@ public:
|
|||
|
||||
LLInventoryFilter& getCurrentFilter();
|
||||
|
||||
void setParentSidepanel(LLSidepanelInventory* parent_sidepanel) { mParentSidepanel = parent_sidepanel; }
|
||||
void setInboxPanel(LLPanelMarketplaceInbox* inbox_panel) { mInboxPanel = inbox_panel; }
|
||||
|
||||
protected:
|
||||
//
|
||||
// Misc functions
|
||||
|
|
|
|||
|
|
@ -161,6 +161,8 @@ bool LLSidepanelInventory::postBuild()
|
|||
|
||||
mPanelMainInventory = mInventoryPanel->getChild<LLPanelMainInventory>("panel_main_inventory");
|
||||
mPanelMainInventory->setSelectCallback(boost::bind(&LLSidepanelInventory::onSelectionChange, this, _1, _2));
|
||||
mPanelMainInventory->setParentSidepanel(this);
|
||||
mPanelMainInventory->setInboxPanel(getChild<LLPanelMarketplaceInbox>("marketplace_inbox"));
|
||||
//LLTabContainer* tabs = mPanelMainInventory->getChild<LLTabContainer>("inventory filter tabs");
|
||||
//tabs->setCommitCallback(boost::bind(&LLSidepanelInventory::updateVerbs, this));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue