Skip to content
Snippets Groups Projects
Commit b48c003d authored by Seth ProductEngine's avatar Seth ProductEngine
Browse files

STORM-387 FIXED Return key handling by Favorites bar overflow menu.

Pressing Return in Favorites bar overflow menu now acts as mouse double click, i.e. performs teleport to selected landmark.
parent 1034db63
No related branches found
No related tags found
No related merge requests found
...@@ -1637,6 +1637,10 @@ LLMenuScrollItem::LLMenuScrollItem(const Params& p) ...@@ -1637,6 +1637,10 @@ LLMenuScrollItem::LLMenuScrollItem(const Params& p)
} }
LLButton::Params bparams; LLButton::Params bparams;
// Disabled the Return key handling by LLMenuScrollItem instead of
// passing the key press to the currently selected menu item. See STORM-385.
bparams.commit_on_return(false);
bparams.mouse_opaque(true); bparams.mouse_opaque(true);
bparams.scale_image(false); bparams.scale_image(false);
bparams.click_callback(p.scroll_callback); bparams.click_callback(p.scroll_callback);
......
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