diff options
author | Yuri Chebotarev <ychebotarev@productengine.com> | 2010-06-10 17:21:11 +0300 |
---|---|---|
committer | Yuri Chebotarev <ychebotarev@productengine.com> | 2010-06-10 17:21:11 +0300 |
commit | a797948a18d3f09244348526852524527f3f8e27 (patch) | |
tree | 7531629b93a27e09e00cb4539385564566a48a08 /indra/newview/llinventoryitemslist.cpp | |
parent | 591aa0d5be809a8ce0ba314493a9c3a8dfee8b9b (diff) | |
parent | ac9543be9eb6e3c4b929142d0d2758ebf1885ac8 (diff) |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llinventoryitemslist.cpp')
-rw-r--r-- | indra/newview/llinventoryitemslist.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/newview/llinventoryitemslist.cpp b/indra/newview/llinventoryitemslist.cpp index cd0e976a79..a9814a1b9a 100644 --- a/indra/newview/llinventoryitemslist.cpp +++ b/indra/newview/llinventoryitemslist.cpp @@ -79,7 +79,15 @@ void LLPanelInventoryListItemBase::draw() void LLPanelInventoryListItemBase::updateItem() { setIconImage(mIconImage); - setTitle(mItem->getName(), mHighlightedText); + + std::string name = mItem->getName(); + + if (get_is_item_worn(mItem->getUUID())) + { + name += LLTrans::getString("worn"); + } + + setTitle(name, mHighlightedText); } void LLPanelInventoryListItemBase::addWidgetToLeftSide(const std::string& name, bool show_widget/* = true*/) |