diff options
author | Paul Guslisty <pguslisty@productengine.com> | 2010-11-04 16:16:18 +0200 |
---|---|---|
committer | Paul Guslisty <pguslisty@productengine.com> | 2010-11-04 16:16:18 +0200 |
commit | 211e141444a260af553964ee964be3a7a3c5b37e (patch) | |
tree | 24f9d01bb99b4d0f2f829afb878762a3b4010e98 /indra/llui/llpanel.cpp | |
parent | 6a9e70053beaa0fb936482f5594137a8bcdf2f1e (diff) |
STORM-450 FIXED Incorrect help contexts for Sidebar People tab
- Added checking whether panel is in visible chain instead of just visibility checking
Diffstat (limited to 'indra/llui/llpanel.cpp')
-rw-r--r-- | indra/llui/llpanel.cpp | 2 |
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; } |