summaryrefslogtreecommitdiff
path: root/indra/llui/llfloater.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-01-05 17:53:37 -0500
committerOz Linden <oz@lindenlab.com>2011-01-05 17:53:37 -0500
commiteb0b8ab3ea19617a52881191bab21bfedcc5696d (patch)
tree769aa9bd60f45109f54672db93a4fa22fcde6510 /indra/llui/llfloater.cpp
parentdf0a0312fb1923164c6d693c675a365bb8cef1df (diff)
parentd5a0c56bf5d933b7cee072cbc1851a626e672ded (diff)
merge changes for storm-825
Diffstat (limited to 'indra/llui/llfloater.cpp')
-rw-r--r--indra/llui/llfloater.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp
index 1265733bf5..d30697e178 100644
--- a/indra/llui/llfloater.cpp
+++ b/indra/llui/llfloater.cpp
@@ -2910,7 +2910,9 @@ bool LLFloater::initFloaterXML(LLXMLNodePtr node, LLView *parent, const std::str
params.from_xui = true;
applyXUILayout(params, parent);
initFromParams(params);
-
+ // chrome floaters don't take focus at all
+ setFocusRoot(!getIsChrome());
+
initFloater(params);
LLMultiFloater* last_host = LLFloater::getFloaterHost();