diff options
author | Jacek Antonelli | 2008-08-15 23:45:27 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:27 -0500 |
commit | a8a62201ba762e98dff92cf49033e577fc34d8d4 (patch) | |
tree | 11f8513c5cdc222f2fac0c93eb724c089803c200 /linden/indra/llui/llmenugl.cpp | |
parent | Second Life viewer sources 1.18.6.4-RC (diff) | |
download | meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.zip meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.gz meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.bz2 meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.xz |
Second Life viewer sources 1.19.0.0
Diffstat (limited to 'linden/indra/llui/llmenugl.cpp')
-rw-r--r-- | linden/indra/llui/llmenugl.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/linden/indra/llui/llmenugl.cpp b/linden/indra/llui/llmenugl.cpp index 4afa6b9..a56b090 100644 --- a/linden/indra/llui/llmenugl.cpp +++ b/linden/indra/llui/llmenugl.cpp | |||
@@ -12,12 +12,12 @@ | |||
12 | * ("GPL"), unless you have obtained a separate licensing agreement | 12 | * ("GPL"), unless you have obtained a separate licensing agreement |
13 | * ("Other License"), formally executed by you and Linden Lab. Terms of | 13 | * ("Other License"), formally executed by you and Linden Lab. Terms of |
14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | 14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or |
15 | * online at http://secondlife.com/developers/opensource/gplv2 | 15 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 |
16 | * | 16 | * |
17 | * There are special exceptions to the terms and conditions of the GPL as | 17 | * There are special exceptions to the terms and conditions of the GPL as |
18 | * it is applied to this Source Code. View the full text of the exception | 18 | * it is applied to this Source Code. View the full text of the exception |
19 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 19 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
20 | * online at http://secondlife.com/developers/opensource/flossexception | 20 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception |
21 | * | 21 | * |
22 | * By copying, modifying or distributing this software, you acknowledge | 22 | * By copying, modifying or distributing this software, you acknowledge |
23 | * that you have read and understood your obligations described above, | 23 | * that you have read and understood your obligations described above, |
@@ -632,7 +632,7 @@ public: | |||
632 | }; | 632 | }; |
633 | 633 | ||
634 | LLMenuItemSeparatorGL::LLMenuItemSeparatorGL( const LLString &name ) : | 634 | LLMenuItemSeparatorGL::LLMenuItemSeparatorGL( const LLString &name ) : |
635 | LLMenuItemGL( SEPARATOR_NAME, SEPARATOR_LABEL ) | 635 | LLMenuItemGL( name, SEPARATOR_LABEL ) |
636 | { | 636 | { |
637 | } | 637 | } |
638 | 638 | ||
@@ -2832,7 +2832,7 @@ LLMenuItemGL* LLMenuGL::highlightNextItem(LLMenuItemGL* cur_item, BOOL skip_disa | |||
2832 | while(1) | 2832 | while(1) |
2833 | { | 2833 | { |
2834 | // skip separators and disabled items | 2834 | // skip separators and disabled items |
2835 | if ((*next_item_iter)->getEnabled() && (*next_item_iter)->getName() != SEPARATOR_NAME) | 2835 | if ((*next_item_iter)->getEnabled() && (*next_item_iter)->getType() != SEPARATOR_NAME) |
2836 | { | 2836 | { |
2837 | if (cur_item) | 2837 | if (cur_item) |
2838 | { | 2838 | { |
@@ -4514,7 +4514,7 @@ BOOL LLMenuHolderGL::hideMenus() | |||
4514 | } | 4514 | } |
4515 | //if (gFocusMgr.childHasKeyboardFocus(this)) | 4515 | //if (gFocusMgr.childHasKeyboardFocus(this)) |
4516 | //{ | 4516 | //{ |
4517 | // gFocusMgr.setKeyboardFocus(NULL, NULL); | 4517 | // gFocusMgr.setKeyboardFocus(NULL); |
4518 | //} | 4518 | //} |
4519 | 4519 | ||
4520 | return menu_visible; | 4520 | return menu_visible; |
@@ -4599,6 +4599,7 @@ void LLTearOffMenu::onFocusReceived() | |||
4599 | break; | 4599 | break; |
4600 | } | 4600 | } |
4601 | } | 4601 | } |
4602 | LLFloater::onFocusReceived(); | ||
4602 | } | 4603 | } |
4603 | 4604 | ||
4604 | void LLTearOffMenu::onFocusLost() | 4605 | void LLTearOffMenu::onFocusLost() |