From 1b41e68636a43e2efc88faae29496895e882e0d0 Mon Sep 17 00:00:00 2001 From: Igor Borovkov Date: Thu, 13 May 2010 13:12:59 +0300 Subject: EXT-7243 FIXED assigned a callback to the add_to_outfit_btn (panel outfit edit) Reviewed by Vadim Savchuk and Neal Orman at https://codereview.productengine.com/secondlife/r/380 --HG-- branch : product-engine --- indra/newview/llpaneloutfitedit.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/indra/newview/llpaneloutfitedit.cpp b/indra/newview/llpaneloutfitedit.cpp index 1c74c8f26a..c04be85174 100644 --- a/indra/newview/llpaneloutfitedit.cpp +++ b/indra/newview/llpaneloutfitedit.cpp @@ -246,15 +246,7 @@ BOOL LLPanelOutfitEdit::postBuild() mSearchFilter = getChild("look_item_filter"); mSearchFilter->setCommitCallback(boost::bind(&LLPanelOutfitEdit::onSearchEdit, this, _2)); - /* Removing add to look inline button (not part of mvp for viewer 2) - LLButton::Params add_params; - add_params.name("add_to_look"); - add_params.click_callback.function(boost::bind(&LLPanelOutfitEdit::onAddToLookClicked, this)); - add_params.label("+"); - - mAddToLookBtn = LLUICtrlFactory::create(add_params); - mAddToLookBtn->setEnabled(FALSE); - mAddToLookBtn->setVisible(FALSE); */ + childSetAction("add_to_outfit_btn", boost::bind(&LLPanelOutfitEdit::onAddToOutfitClicked, this)); mEditWearableBtn = getChild("edit_wearable_btn"); mEditWearableBtn->setEnabled(FALSE); -- cgit v1.2.3