summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelpulldown.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-12-13 16:14:05 -0600
committerDave Parks <davep@lindenlab.com>2022-12-13 16:14:05 -0600
commit9e7829c9cb140f994c9aa12dddcd4518c4c43a40 (patch)
tree01a24506c244b875bdeb402498bf3cb11658debb /indra/newview/llpanelpulldown.cpp
parent5fcfe95422b4c3a5434b3eb711cd12401d4329d3 (diff)
parenta4397723b7ed1e5a8c86b104fd5a8b94da03abb9 (diff)
Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559
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);
}
}