Skip to content
Snippets Groups Projects
Commit fd337f2c authored by Mnikolenko Productengine's avatar Mnikolenko Productengine
Browse files

MAINT-7357 Disable delete function of the Backspace key on Windows

parent acb4ef1a
No related branches found
No related tags found
No related merge requests found
...@@ -1482,7 +1482,9 @@ BOOL LLInventoryPanel::handleKeyHere( KEY key, MASK mask ) ...@@ -1482,7 +1482,9 @@ BOOL LLInventoryPanel::handleKeyHere( KEY key, MASK mask )
} }
break; break;
case KEY_DELETE: case KEY_DELETE:
#if LL_DARWIN
case KEY_BACKSPACE: case KEY_BACKSPACE:
#endif
// Delete selected items if delete or backspace key hit on the inventory panel // 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 // Note: on Mac laptop keyboards, backspace and delete are one and the same
if (isSelectionRemovable() && (mask == MASK_NONE)) if (isSelectionRemovable() && (mask == MASK_NONE))
......
...@@ -2052,7 +2052,9 @@ BOOL LLPanelObjectInventory::handleKeyHere( KEY key, MASK mask ) ...@@ -2052,7 +2052,9 @@ BOOL LLPanelObjectInventory::handleKeyHere( KEY key, MASK mask )
switch (key) switch (key)
{ {
case KEY_DELETE: case KEY_DELETE:
#if LL_DARWIN
case KEY_BACKSPACE: case KEY_BACKSPACE:
#endif
// Delete selected items if delete or backspace key hit on the inventory panel // 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 // Note: on Mac laptop keyboards, backspace and delete are one and the same
if (isSelectionRemovable() && mask == MASK_NONE) if (isSelectionRemovable() && mask == MASK_NONE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment