diff options
Diffstat (limited to 'indra/newview/llpaneloutfitsinventory.cpp')
-rw-r--r-- | indra/newview/llpaneloutfitsinventory.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llpaneloutfitsinventory.cpp b/indra/newview/llpaneloutfitsinventory.cpp index ca5679d5b0..dfe4680035 100644 --- a/indra/newview/llpaneloutfitsinventory.cpp +++ b/indra/newview/llpaneloutfitsinventory.cpp @@ -258,17 +258,17 @@ void LLPanelOutfitsInventory::updateListCommands() bool wear_visible = !isCOFPanelActive(); bool make_outfit_enabled = isActionEnabled("save_outfit"); - mMyOutfitsPanel->childSetEnabled("trash_btn", trash_enabled); - mListCommands->childSetEnabled("wear_btn", wear_enabled); - mListCommands->childSetVisible("wear_btn", wear_visible); + mMyOutfitsPanel->getChildView("trash_btn")->setEnabled(trash_enabled); + mListCommands->getChildView("wear_btn")->setEnabled(wear_enabled); + mListCommands->getChildView("wear_btn")->setVisible( wear_visible); mSaveComboBtn->setMenuItemEnabled("save_outfit", make_outfit_enabled); if (mMyOutfitsPanel->hasItemSelected()) { - mListCommands->childSetToolTip("wear_btn", getString("wear_items_tooltip")); + mListCommands->getChildView("wear_btn")->setToolTip(getString("wear_items_tooltip")); } else { - mListCommands->childSetToolTip("wear_btn", getString("wear_outfit_tooltip")); + mListCommands->getChildView("wear_btn")->setToolTip(getString("wear_outfit_tooltip")); } } @@ -337,7 +337,7 @@ bool LLPanelOutfitsInventory::isCOFPanelActive() const void LLPanelOutfitsInventory::setWearablesLoading(bool val) { - mListCommands->childSetEnabled("wear_btn", !val); + mListCommands->getChildView("wear_btn")->setEnabled(!val); } void LLPanelOutfitsInventory::onWearablesLoaded() |