From b48c003d60ad1358ade39bd321bb901afda24ee6 Mon Sep 17 00:00:00 2001 From: Seth ProductEngine Date: Thu, 6 Jan 2011 22:19:27 +0200 Subject: 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. --- indra/llui/llmenugl.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'indra/llui/llmenugl.cpp') diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp index 6c0d47ef63..32d7be377a 100644 --- a/indra/llui/llmenugl.cpp +++ b/indra/llui/llmenugl.cpp @@ -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); -- cgit v1.2.3