diff options
author | mberezhnoy <mberezhnoy@productengine.com> | 2013-01-18 00:06:13 +0200 |
---|---|---|
committer | mberezhnoy <mberezhnoy@productengine.com> | 2013-01-18 00:06:13 +0200 |
commit | 40c88de2c0525ec72b41e40b5f5b48fdf295aba2 (patch) | |
tree | 604cdc2ab9c1affcbea558fe4eb26b211d79cb26 /indra/llui | |
parent | 6a134c92d82746a2bfbf011e53aa04bdec67655f (diff) | |
parent | e05449e7fe5e39f61c45504e27e109ffb4b68195 (diff) |
merge!
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llfloater.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp index 8f9be5285d..d2aae11191 100644 --- a/indra/llui/llfloater.cpp +++ b/indra/llui/llfloater.cpp @@ -655,7 +655,7 @@ void LLFloater::openFloater(const LLSD& key) { llinfos << "Opening floater " << getName() << llendl; mKey = key; // in case we need to open ourselves again - + if (getSoundFlags() != SILENT // don't play open sound for hosted (tabbed) windows && !getHost() @@ -2394,6 +2394,11 @@ void LLFloaterView::bringToFront(LLFloater* child, BOOL give_focus) { if (mFrontChild == child) { + + if (give_focus && !gFocusMgr.childHasKeyboardFocus(child)) + { + child->setFocus(TRUE); + } return; } |