diff options
author | Igor Borovkov <iborovkov@productengine.com> | 2010-05-13 13:12:59 +0300 |
---|---|---|
committer | Igor Borovkov <iborovkov@productengine.com> | 2010-05-13 13:12:59 +0300 |
commit | 1b41e68636a43e2efc88faae29496895e882e0d0 (patch) | |
tree | 29b8602e7caab280c5f55c2cf8f5a87540863ed5 /indra/newview | |
parent | b54e4459df25ac00a63a6d2f094372ce74a11069 (diff) |
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
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llpaneloutfitedit.cpp | 10 |
1 files changed, 1 insertions, 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<LLFilterEditor>("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<LLButton>(add_params); - mAddToLookBtn->setEnabled(FALSE); - mAddToLookBtn->setVisible(FALSE); */ + childSetAction("add_to_outfit_btn", boost::bind(&LLPanelOutfitEdit::onAddToOutfitClicked, this)); mEditWearableBtn = getChild<LLButton>("edit_wearable_btn"); mEditWearableBtn->setEnabled(FALSE); |