diff options
author | Richard Linden <none@none> | 2010-06-24 10:47:31 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2010-06-24 10:47:31 -0700 |
commit | 483f66e082dd758ac1efafdcb5ba9c277690d760 (patch) | |
tree | 2e6f5c10c08e9bdf7caa11c31a40d6a3e9792ff4 /indra/newview/llpanelnearbymedia.cpp | |
parent | 8f892d0f36fda170a5cecf0aea89887d6d0e45ef (diff) | |
parent | 1683c7c6e99814e101312aad38718d393a2605e3 (diff) |
merge
Diffstat (limited to 'indra/newview/llpanelnearbymedia.cpp')
-rw-r--r-- | indra/newview/llpanelnearbymedia.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llpanelnearbymedia.cpp b/indra/newview/llpanelnearbymedia.cpp index 6411cd802d..7f4609b83e 100644 --- a/indra/newview/llpanelnearbymedia.cpp +++ b/indra/newview/llpanelnearbymedia.cpp @@ -224,8 +224,8 @@ void LLPanelNearByMedia::reshape(S32 width, S32 height, BOOL called_from_parent) { LLPanel::reshape(width, height, called_from_parent); - LLButton* more_less_btn = getChild<LLButton>("more_less_btn"); - if (more_less_btn->getValue().asBoolean()) + LLButton* more_btn = findChild<LLButton>("more_btn"); + if (more_btn && more_btn->getValue().asBoolean()) { mMoreRect = getRect(); } |