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
meow-7.2.2
Richard Linden 2010-06-10 15:22:37 -07:00
parent b143dd3bf6
commit 512cd85e09
1 changed files with 0 additions and 20 deletions

View File

@ -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)
{