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.
meow-7.2.2
Seth ProductEngine 2011-01-06 22:19:27 +02:00
parent 1034db6394
commit b48c003d60
1 changed files with 4 additions and 0 deletions

View File

@ -1637,6 +1637,10 @@ LLMenuScrollItem::LLMenuScrollItem(const Params& p)
}
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.scale_image(false);
bparams.click_callback(p.scroll_callback);