diff options
author | leyla <leyla@leyla.com> | 2011-03-07 09:48:33 -0800 |
---|---|---|
committer | leyla <leyla@leyla.com> | 2011-03-07 09:48:33 -0800 |
commit | a1774c353e11e81c830523b1dd248119f8650ebf (patch) | |
tree | afd0c19d6ab7ba10dabdc904e48a44bab80c01c7 /indra/newview/llbottomtray.cpp | |
parent | 6613aebf8802555a47e278d68eef5336763d7d87 (diff) | |
parent | f28d3a13d34937285f9d920d306896162ae91e4b (diff) |
Merge
Diffstat (limited to 'indra/newview/llbottomtray.cpp')
-rw-r--r-- | indra/newview/llbottomtray.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llbottomtray.cpp b/indra/newview/llbottomtray.cpp index 5d5ba03615..4645a2c6e7 100644 --- a/indra/newview/llbottomtray.cpp +++ b/indra/newview/llbottomtray.cpp @@ -823,6 +823,12 @@ void LLBottomTray::draw() getChild<LLButton>("show_people_button")->setToggleState(false); } + LLFloater* help_browser = (LLFloaterReg::findInstance("help_browser")); + bool help_floater_visible = (help_browser && help_browser->isInVisibleChain()); + + getChild<LLButton>("show_help_btn")->setToggleState(help_floater_visible); + + } bool LLBottomTray::onContextMenuItemEnabled(const LLSD& userdata) |