diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-07-01 15:47:19 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-07-01 15:47:19 +0100 |
commit | 9cef95ca2bf8a7194c6ce80ba744d9c936695e86 (patch) | |
tree | 92961b4a9ff5cf9aabede13180a0e88eed10834d /indra/newview/llpaneloutfitsinventory.cpp | |
parent | 47ace2fc41d09aef6d8fded281a4a2da765bef86 (diff) | |
parent | 87a4890312c7bc5671d7d122e9d1f4ec1795d2dd (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() |