diff options
Diffstat (limited to 'linden/indra/llui/llcombobox.cpp')
-rw-r--r-- | linden/indra/llui/llcombobox.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/llui/llcombobox.cpp b/linden/indra/llui/llcombobox.cpp index 22b5033..96092b4 100644 --- a/linden/indra/llui/llcombobox.cpp +++ b/linden/indra/llui/llcombobox.cpp | |||
@@ -648,12 +648,16 @@ void LLComboBox::showList() | |||
648 | } | 648 | } |
649 | mList->setFocus(TRUE); | 649 | mList->setFocus(TRUE); |
650 | 650 | ||
651 | // register ourselves as a "top" control | ||
652 | // effectively putting us into a special draw layer | ||
653 | // and not affecting the bounding rectangle calculation | ||
654 | gFocusMgr.setTopCtrl(this); | ||
655 | |||
651 | // Show the list and push the button down | 656 | // Show the list and push the button down |
652 | mButton->setToggleState(TRUE); | 657 | mButton->setToggleState(TRUE); |
653 | mList->setVisible(TRUE); | 658 | mList->setVisible(TRUE); |
654 | 659 | ||
655 | setUseBoundingRect(TRUE); | 660 | setUseBoundingRect(TRUE); |
656 | gFocusMgr.setTopCtrl(this); | ||
657 | } | 661 | } |
658 | 662 | ||
659 | void LLComboBox::hideList() | 663 | void LLComboBox::hideList() |