summaryrefslogtreecommitdiff
path: root/indra/llui/lluictrl.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2020-01-09 20:54:36 +0200
committerandreykproductengine <andreykproductengine@lindenlab.com>2020-01-09 20:54:36 +0200
commit941c1ee7f8a0446937c37ba6ce31503a0c360d50 (patch)
treee1800566b4a8fdec80962c56892888a57f95fa7a /indra/llui/lluictrl.cpp
parent7633285f9a8a2908e596df3316d025c0fb64a73e (diff)
SL-11172 Scroll to focused object if object is not in visible area
Diffstat (limited to 'indra/llui/lluictrl.cpp')
-rw-r--r--indra/llui/lluictrl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llui/lluictrl.cpp b/indra/llui/lluictrl.cpp
index c98da0d410..e1d275c351 100644
--- a/indra/llui/lluictrl.cpp
+++ b/indra/llui/lluictrl.cpp
@@ -679,6 +679,7 @@ void LLUICtrl::setFocus(BOOL b)
if (!hasFocus())
{
gFocusMgr.setKeyboardFocus( this );
+ onChildGotFocus(this);
}
}
else