summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorRichard Linden <none@none>2011-10-11 22:49:00 -0700
committerRichard Linden <none@none>2011-10-11 22:49:00 -0700
commitd0cda13235079c6626ebc7bbe4de542784d50fa0 (patch)
tree60e8a29d53051aeb5bff81eb5e8af6851ba2d133 /indra/llui
parentfd1a688f463703ec78a399b35fed19b3d907c91b (diff)
EXP-1275 FIX A UI element or Keyboard shortcut to clear the viewport
Ctrl+Shift+U now toggles UI and hides floaters refactored main_view.xml made all members of llviewerwindow private
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llmenugl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp
index badba7a416..3ef8d8ff35 100644
--- a/indra/llui/llmenugl.cpp
+++ b/indra/llui/llmenugl.cpp
@@ -1731,7 +1731,7 @@ void LLMenuGL::setCanTearOff(BOOL tear_off)
{
LLMenuItemTearOffGL::Params p;
mTearOffItem = LLUICtrlFactory::create<LLMenuItemTearOffGL>(p);
- addChildInBack(mTearOffItem);
+ addChild(mTearOffItem);
}
else if (!tear_off && mTearOffItem != NULL)
{