diff options
author | Richard Linden <none@none> | 2010-06-10 15:22:37 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2010-06-10 15:22:37 -0700 |
commit | 512cd85e09db1b7103458bd5828c6f21b3e5bf83 (patch) | |
tree | 38922de2d115f16c244cb0e02cec4b969b50d457 /indra/newview/llwearableitemslist.cpp | |
parent | b143dd3bf60c9deaf237d01a6bc28d5cdd09aba7 (diff) |
EXT-7239 FIX Double-click on outfit title should wear outfit, Double-click on item should wear item
decision was to remove double click behavior
Diffstat (limited to 'indra/newview/llwearableitemslist.cpp')
-rw-r--r-- | indra/newview/llwearableitemslist.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/indra/newview/llwearableitemslist.cpp b/indra/newview/llwearableitemslist.cpp index d56a331000..58a0ea8ef5 100644 --- a/indra/newview/llwearableitemslist.cpp +++ b/indra/newview/llwearableitemslist.cpp @@ -107,26 +107,6 @@ LLPanelWearableOutfitItem* LLPanelWearableOutfitItem::create(LLViewerInventoryIt return list_item; } -BOOL LLPanelWearableOutfitItem::handleDoubleClick(S32 x, S32 y, MASK mask) -{ - LLViewerInventoryItem* item = getItem(); - if (item) - { - LLUUID id = item->getUUID(); - - if (get_is_item_worn(id)) - { - LLAppearanceMgr::getInstance()->removeItemFromAvatar(id); - } - else - { - LLAppearanceMgr::getInstance()->wearItemOnAvatar(id, true, false); - } - } - - return LLUICtrl::handleDoubleClick(x, y, mask); -} - LLPanelWearableOutfitItem::LLPanelWearableOutfitItem(LLViewerInventoryItem* item) : LLPanelInventoryListItemBase(item) { |