MAINT-7357 Disable delete function of the Backspace key on Windows
parent
acb4ef1a94
commit
fd337f2c43
|
|
@ -1482,7 +1482,9 @@ BOOL LLInventoryPanel::handleKeyHere( KEY key, MASK mask )
|
|||
}
|
||||
break;
|
||||
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))
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue