diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2010-07-01 11:39:36 -0700 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2010-07-01 11:39:36 -0700 |
commit | 919aac86765f60a39d318928c144f7751e62b420 (patch) | |
tree | 85933be6e85062058c40d4359258042c866d19b8 /indra/newview/llpaneloutfitsinventory.cpp | |
parent | f1eac16260fccce643f499c1b5591f3130003d10 (diff) | |
parent | a9f2f874c8292b79ac66ff6ceb3bd2daede1b736 (diff) |
Merge
Diffstat (limited to 'indra/newview/llpaneloutfitsinventory.cpp')
-rw-r--r-- | indra/newview/llpaneloutfitsinventory.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llpaneloutfitsinventory.cpp b/indra/newview/llpaneloutfitsinventory.cpp index 462ba2dfa5..c5d259e517 100644 --- a/indra/newview/llpaneloutfitsinventory.cpp +++ b/indra/newview/llpaneloutfitsinventory.cpp @@ -262,6 +262,14 @@ void LLPanelOutfitsInventory::updateListCommands() mListCommands->childSetEnabled("wear_btn", wear_enabled); mListCommands->childSetVisible("wear_btn", wear_visible); mSaveComboBtn->setMenuItemEnabled("save_outfit", make_outfit_enabled); + if (mMyOutfitsPanel->hasItemSelected()) + { + mListCommands->childSetToolTip("wear_btn", getString("wear_items_tooltip")); + } + else + { + mListCommands->childSetToolTip("wear_btn", getString("wear_outfit_tooltip")); + } } void LLPanelOutfitsInventory::showGearMenu() |