diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2011-03-23 11:36:00 -0700 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2011-03-23 11:36:00 -0700 |
commit | 3ad81bb4a642d25018b773d2ef005380664d8170 (patch) | |
tree | b1bbf66c0babf6c541858b34d4a7f66ad19308b0 /indra/newview/llnearbychatbar.cpp | |
parent | a2c659378b8b7c8a4128c61b5cde91eccc9db4e6 (diff) | |
parent | 62a958d341532287519a23a362ff7aebd501e1c9 (diff) |
Merge
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); } |