diff options
author | Roxie Linden <roxie@lindenlab.com> | 2010-02-26 12:02:34 -0800 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2010-02-26 12:02:34 -0800 |
commit | 13d4257868451d1e3a5797bd02a0e6f749cc0836 (patch) | |
tree | bafaaa1220764a6f989f84cb434e82ef341a27c7 /indra/newview/llinspectavatar.cpp | |
parent | 2d7697dfade4ecbb8fbe9b26a5332fc9e93f5669 (diff) | |
parent | fc70ca5403acdd99b2235dbf4e513a4dd806c850 (diff) |
automated merge
Diffstat (limited to 'indra/newview/llinspectavatar.cpp')
-rw-r--r-- | indra/newview/llinspectavatar.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/indra/newview/llinspectavatar.cpp b/indra/newview/llinspectavatar.cpp index 857abed811..1da81ae019 100644 --- a/indra/newview/llinspectavatar.cpp +++ b/indra/newview/llinspectavatar.cpp @@ -393,11 +393,18 @@ void LLInspectAvatar::onMouseLeave(S32 x, S32 y, MASK mask) { LLMenuGL* gear_menu = getChild<LLMenuButton>("gear_btn")->getMenu(); LLMenuGL* gear_menu_self = getChild<LLMenuButton>("gear_self_btn")->getMenu(); - if ( !(gear_menu && gear_menu->getVisible()) && - !(gear_menu_self && gear_menu_self->getVisible())) + if ( gear_menu && gear_menu->getVisible() && + gear_menu_self && gear_menu_self->getVisible() ) { - mOpenTimer.unpause(); + return; + } + + if(childHasVisiblePopupMenu()) + { + return; } + + mOpenTimer.unpause(); } void LLInspectAvatar::updateModeratorPanel() |