Fix the bug in which right click and then delete key would no longer work to delete objects
Navigation handling without a currently selected menu entry now only happens if key is up or down arrow (mind the space changes)
This commit is contained in:
@@ -4630,10 +4630,13 @@ BOOL LLMenuHolderGL::handleKey(KEY key, MASK mask, BOOL called_from_parent)
|
||||
}
|
||||
else
|
||||
{
|
||||
//highlight first enabled one
|
||||
if(pMenu->highlightNextItem(NULL))
|
||||
if (key == KEY_UP || key == KEY_DOWN) // Singu Note: Only highlight if the user actually meant to navigate through the menu
|
||||
{
|
||||
handled = true;
|
||||
//highlight first enabled one
|
||||
if (pMenu->highlightNextItem(NULL))
|
||||
{
|
||||
handled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user