aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llcombobox.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:29 -0500
committerJacek Antonelli2008-08-15 23:45:29 -0500
commit7bdb4845afdd157f95281293803567090e3f992a (patch)
treefbcada1c227d7407f9f37ccba360bfe6326d9c5e /linden/indra/llui/llcombobox.cpp
parentSecond Life viewer sources 1.19.0.0 (diff)
downloadmeta-impy-7bdb4845afdd157f95281293803567090e3f992a.zip
meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.gz
meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.bz2
meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.xz
Second Life viewer sources 1.19.0.2
Diffstat (limited to 'linden/indra/llui/llcombobox.cpp')
-rw-r--r--linden/indra/llui/llcombobox.cpp6
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
659void LLComboBox::hideList() 663void LLComboBox::hideList()