summaryrefslogtreecommitdiff
path: root/indra/newview/llpaneloutfitsinventory.cpp
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-07-30 10:02:30 -0700
committerRichard Nelson <none@none>2010-07-30 10:02:30 -0700
commit9b526997d93d9290602a86f91a7f096da4395d97 (patch)
tree1cc7ae3cfca94a0417d9de1fe600304b7cf7cc6c /indra/newview/llpaneloutfitsinventory.cpp
parent5d13631452ac043b549f2b8be52c4cc3bf36206a (diff)
deprecated LLPanel::child*() methods
Diffstat (limited to 'indra/newview/llpaneloutfitsinventory.cpp')
-rw-r--r--indra/newview/llpaneloutfitsinventory.cpp12
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()