Fixed low bug EXT-4189 (Pressing Gesture button by SPACE/ENTER key doesn't open gestures list)

--HG--
branch : product-engine
master
Eugene Mutavchi 2010-01-13 13:44:44 +02:00
parent e6c2b2b87c
commit c63c9656fc
1 changed files with 3 additions and 0 deletions

View File

@ -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()