summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelmarketplaceoutboxinventory.cpp
diff options
context:
space:
mode:
authorLeslie Linden <leslie@lindenlab.com>2012-01-11 11:59:34 -0800
committerLeslie Linden <leslie@lindenlab.com>2012-01-11 11:59:34 -0800
commit98f071aa6fc2961d9a86fa1d174c1f988a6ef8dc (patch)
tree04b771b3d690c6e6469e65ed19bf7bb1f76c4d84 /indra/newview/llpanelmarketplaceoutboxinventory.cpp
parent0a1cb4f03ee1aeb0cfc9d9bdb837043d0f46f292 (diff)
EXP-1790 FIX -- Hitting return on item in Merchant Outbox wears the object
* Disabled the "openItem" function on outbox items to prevent default behavior when the return button is pressed.
Diffstat (limited to 'indra/newview/llpanelmarketplaceoutboxinventory.cpp')
-rw-r--r--indra/newview/llpanelmarketplaceoutboxinventory.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llpanelmarketplaceoutboxinventory.cpp b/indra/newview/llpanelmarketplaceoutboxinventory.cpp
index c14a0c8379..ff62cb23db 100644
--- a/indra/newview/llpanelmarketplaceoutboxinventory.cpp
+++ b/indra/newview/llpanelmarketplaceoutboxinventory.cpp
@@ -148,4 +148,9 @@ BOOL LLOutboxFolderViewItem::handleDoubleClick(S32 x, S32 y, MASK mask)
return TRUE;
}
+void LLOutboxFolderViewItem::openItem()
+{
+ // Intentionally do nothing to block attaching items from the outbox
+}
+
// eof