summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelobjectinventory.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2017-05-04 10:55:03 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2017-05-04 10:55:03 +0300
commitfd337f2c43470df43e4145fc4a88250688a45c97 (patch)
treee379eea15a6ebb061473aa03a3fe0a8a66389451 /indra/newview/llpanelobjectinventory.cpp
parentacb4ef1a94545e886c221ab441a13ef700651ad3 (diff)
MAINT-7357 Disable delete function of the Backspace key on Windows
Diffstat (limited to 'indra/newview/llpanelobjectinventory.cpp')
-rw-r--r--indra/newview/llpanelobjectinventory.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llpanelobjectinventory.cpp b/indra/newview/llpanelobjectinventory.cpp
index 6409620336..dbfebf901a 100644
--- a/indra/newview/llpanelobjectinventory.cpp
+++ b/indra/newview/llpanelobjectinventory.cpp
@@ -2052,7 +2052,9 @@ BOOL LLPanelObjectInventory::handleKeyHere( KEY key, MASK mask )
switch (key)
{
case KEY_DELETE:
+#if LL_DARWIN
case KEY_BACKSPACE:
+#endif
// Delete selected items if delete or backspace key hit on the inventory panel
// Note: on Mac laptop keyboards, backspace and delete are one and the same
if (isSelectionRemovable() && mask == MASK_NONE)