diff options
author | Oz Linden <oz@lindenlab.com> | 2011-03-17 14:49:03 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-03-17 14:49:03 -0400 |
commit | 17d87b0fa5bdd8d15dbcd98e65c30ebf4e5b94ec (patch) | |
tree | d57dc022d32f0a5c362860add8c697cddbd6842e /indra/newview/llnearbychatbar.cpp | |
parent | a024493c04aea26b523d52971ab9cc1c9df5d08b (diff) | |
parent | d27a695b0be6c16e11a8c06c23d59e4107523ef6 (diff) |
Automated merge with ssh://hg.lindenlab.com/richard/viewer-social
Diffstat (limited to 'indra/newview/llnearbychatbar.cpp')
-rw-r--r-- | indra/newview/llnearbychatbar.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llnearbychatbar.cpp b/indra/newview/llnearbychatbar.cpp index 836ae9a0cf..162e465fef 100644 --- a/indra/newview/llnearbychatbar.cpp +++ b/indra/newview/llnearbychatbar.cpp @@ -157,6 +157,16 @@ BOOL LLGestureComboList::handleKeyHere(KEY key, MASK mask) return handled; } +void LLGestureComboList::draw() +{ + LLUICtrl::draw(); + + if(mButton->getToggleState()) + { + showList(); + } +} + void LLGestureComboList::showList() { LLRect rect = mList->getRect(); @@ -180,6 +190,7 @@ void LLGestureComboList::showList() // Show the list and push the button down mButton->setToggleState(TRUE); mList->setVisible(TRUE); + sendChildToFront(mList); LLUI::addPopup(mList); } |