diff options
author | Richard Linden <none@none> | 2010-06-22 18:32:34 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2010-06-22 18:32:34 -0700 |
commit | 1683c7c6e99814e101312aad38718d393a2605e3 (patch) | |
tree | 9c54140dc9507aa655d930d1f54e16ee9384a08a /indra/newview/llpanelnearbymedia.cpp | |
parent | 11ec720a063b73fc042e8b06338b9526835dbb6b (diff) | |
parent | 6e961cd9f244bc979f653c8ee468617c280d0e9e (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(); } |