diff options
author | Richard Nelson <none@none> | 2010-03-02 14:21:58 -0800 |
---|---|---|
committer | Richard Nelson <none@none> | 2010-03-02 14:21:58 -0800 |
commit | 41a30a59fb1b6dea2d531333d0429632f1fef2fe (patch) | |
tree | 3ffb4b300541511aeb94f83b491384cb29f5f584 /indra/llui/llcombobox.cpp | |
parent | a16574b919b71a67f84ac075ed2c2b717d112d31 (diff) |
initial work changing topctrl to popup layer
Diffstat (limited to 'indra/llui/llcombobox.cpp')
-rw-r--r-- | indra/llui/llcombobox.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/indra/llui/llcombobox.cpp b/indra/llui/llcombobox.cpp index 9d23daf56d..de3bf719ee 100644 --- a/indra/llui/llcombobox.cpp +++ b/indra/llui/llcombobox.cpp @@ -615,7 +615,7 @@ void LLComboBox::showList() // register ourselves as a "top" control // effectively putting us into a special draw layer // and not affecting the bounding rectangle calculation - gFocusMgr.setTopCtrl(this); + LLUI::addPopup(this); // Show the list and push the button down mButton->setToggleState(TRUE); @@ -644,10 +644,7 @@ void LLComboBox::hideList() mList->mouseOverHighlightNthItem(-1); setUseBoundingRect(FALSE); - if( gFocusMgr.getTopCtrl() == this ) - { - gFocusMgr.setTopCtrl(NULL); - } + LLUI::removePopup(this); } } |