Fix XUI parser warning: LLView::getChild: Making dummy class LLButton named "edit_wearable_btn" in panel_outfit_edit

Wed, 06 Dec 2017 11:32:28 +0100

author
Ansariel
date
Wed, 06 Dec 2017 11:32:28 +0100
changeset 53546
70d57db53987
parent 53545
ed0d7e048068
child 53547
874431ad4d78

Fix XUI parser warning: LLView::getChild: Making dummy class LLButton named "edit_wearable_btn" in panel_outfit_edit

indra/newview/llpaneloutfitedit.cpp file | annotate | diff | revisions
indra/newview/llpaneloutfitedit.h file | annotate | diff | revisions
     1.1 --- a/indra/newview/llpaneloutfitedit.cpp	Wed Dec 06 11:06:53 2017 +0100
     1.2 +++ b/indra/newview/llpaneloutfitedit.cpp	Wed Dec 06 11:32:28 2017 +0100
     1.3 @@ -539,10 +539,12 @@
     1.4  	mPlusBtn = getChild<LLButton>("plus_btn");
     1.5  	mPlusBtn->setClickedCallback(boost::bind(&LLPanelOutfitEdit::onPlusBtnClicked, this));
     1.6  	
     1.7 -	mEditWearableBtn = getChild<LLButton>("edit_wearable_btn");
     1.8 -	mEditWearableBtn->setEnabled(FALSE);
     1.9 -	mEditWearableBtn->setVisible(FALSE);
    1.10 -	mEditWearableBtn->setCommitCallback(boost::bind(&LLPanelOutfitEdit::onEditWearableClicked, this));
    1.11 +	// <FS:Ansariel> Unused as of 06-12-2017
    1.12 +	//mEditWearableBtn = getChild<LLButton>("edit_wearable_btn");
    1.13 +	//mEditWearableBtn->setEnabled(FALSE);
    1.14 +	//mEditWearableBtn->setVisible(FALSE);
    1.15 +	//mEditWearableBtn->setCommitCallback(boost::bind(&LLPanelOutfitEdit::onEditWearableClicked, this));
    1.16 +	// </FS:Ansariel>
    1.17  
    1.18  	childSetAction(REVERT_BTN, boost::bind(&LLAppearanceMgr::wearBaseOutfit, LLAppearanceMgr::getInstance()));
    1.19  
     2.1 --- a/indra/newview/llpaneloutfitedit.h	Wed Dec 06 11:06:53 2017 +0100
     2.2 +++ b/indra/newview/llpaneloutfitedit.h	Wed Dec 06 11:32:28 2017 +0100
     2.3 @@ -217,7 +217,7 @@
     2.4  	LLFilterEditor*		mSearchFilter;
     2.5  	LLSaveFolderState*	mSavedFolderState;
     2.6  	std::string			mSearchString;
     2.7 -	LLButton*			mEditWearableBtn;
     2.8 +	//LLButton*			mEditWearableBtn; // <FS:Ansariel> Unused as of 06-12-2017
     2.9  	LLButton*			mFolderViewBtn;
    2.10  	LLButton*			mListViewBtn;
    2.11  	LLButton*			mPlusBtn;

mercurial