summaryrefslogtreecommitdiff
path: root/indra/llui/llpanel.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2010-11-05 13:17:37 -0700
committerMerov Linden <merov@lindenlab.com>2010-11-05 13:17:37 -0700
commita680d4fc1c30828fac63b1b9c6caee497c8f992a (patch)
treeeb3e979b508c5492185e9da41c148249dbed29fa /indra/llui/llpanel.cpp
parentf7af29ab40c2405504969a453eba3919be1af5c5 (diff)
parent124a59263184391b0b4ec418c532b7a715e9b5a3 (diff)
Pull from viewer-development
Diffstat (limited to 'indra/llui/llpanel.cpp')
-rw-r--r--indra/llui/llpanel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llpanel.cpp b/indra/llui/llpanel.cpp
index c8e56630f1..900e2c789e 100644
--- a/indra/llui/llpanel.cpp
+++ b/indra/llui/llpanel.cpp
@@ -904,7 +904,7 @@ LLPanel *LLPanel::childGetVisiblePanelWithHelp()
child = *it;
// do we have a panel with a help topic?
LLPanel *panel = dynamic_cast<LLPanel *>(child);
- if (panel && panel->getVisible() && !panel->getHelpTopic().empty())
+ if (panel && panel->isInVisibleChain() && !panel->getHelpTopic().empty())
{
return panel;
}