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 | 4ffcfe0a5fe21dcb49d79851eb43bd5d80623e0d (patch) | |
tree | 92961b4a9ff5cf9aabede13180a0e88eed10834d /indra/newview/llpaneloutfitsinventory.cpp | |
parent | cc675226bd53a4daf625e4d9e9a7f6c059ac01f3 (diff) | |
parent | fc9958a61854313d80a562e18555d2c63cc4bfe5 (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() |