From c63c9656fc9fd1e6dd80d4fa6ff3138d32ca5e4e Mon Sep 17 00:00:00 2001 From: Eugene Mutavchi Date: Wed, 13 Jan 2010 13:44:44 +0200 Subject: Fixed low bug EXT-4189 (Pressing Gesture button by SPACE/ENTER key doesn't open gestures list) --HG-- branch : product-engine --- indra/newview/llnearbychatbar.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'indra') diff --git a/indra/newview/llnearbychatbar.cpp b/indra/newview/llnearbychatbar.cpp index 8dbaa5ac53..75c2fb07d1 100644 --- a/indra/newview/llnearbychatbar.cpp +++ b/indra/newview/llnearbychatbar.cpp @@ -83,6 +83,9 @@ LLGestureComboBox::LLGestureComboBox(const LLGestureComboBox::Params& p) // This forces using of halign from xml, since LLComboBox // sets it to LLFontGL::LEFT, if text entry is disabled mButton->setHAlign(p.drop_down_button.font_halign); + + // Pressing Gesture button by SPACE/ENTER key should open gestures list + mButton->setCommitCallback(boost::bind(&LLComboBox::onButtonMouseDown, this)); } LLGestureComboBox::~LLGestureComboBox() -- cgit v1.2.3