summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelpulldown.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2023-01-24 20:15:43 +0000
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2023-01-24 20:15:43 +0000
commit3375e1a7b518eb40eb1814ced745266ce3a54ce7 (patch)
treef2b1281ec664e72615d11c6bd35a944d8897fa50 /indra/newview/llpanelpulldown.cpp
parentce5ac93883b71b6abf8cffa35204541e257c6b02 (diff)
parent111fc04e5df60e1d509b9ec80a1340bab4383cce (diff)
Merge branch 'DRTVWR-567' of ssh://github.com/secondlife/viewer into DRTVWR-567
Diffstat (limited to 'indra/newview/llpanelpulldown.cpp')
-rw-r--r--indra/newview/llpanelpulldown.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llpanelpulldown.cpp b/indra/newview/llpanelpulldown.cpp
index 4de6ee8182..075278f44c 100644
--- a/indra/newview/llpanelpulldown.cpp
+++ b/indra/newview/llpanelpulldown.cpp
@@ -51,6 +51,7 @@ void LLPanelPulldown::onMouseEnter(S32 x, S32 y, MASK mask)
/*virtual*/
void LLPanelPulldown::onTopLost()
{
+ setFocus(FALSE); // drop focus to prevent transfer to parent
setVisible(FALSE);
}
@@ -113,6 +114,7 @@ void LLPanelPulldown::draw()
if (alpha == 0.f)
{
+ setFocus(FALSE); // drop focus to prevent transfer to parent
setVisible(FALSE);
}
}