diff options
author | Dessie Linden <dessie@lindenlab.com> | 2010-06-25 12:39:46 -0700 |
---|---|---|
committer | Dessie Linden <dessie@lindenlab.com> | 2010-06-25 12:39:46 -0700 |
commit | 3240b188e958fa6232ddb03bc29adb968c7521ac (patch) | |
tree | 2ee6663288dd21f03444a435addbb1925dd389e6 /indra/newview/llpanelnearbymedia.cpp | |
parent | 89ff83d2e7aa6f5af27c3e235b467e5fcd2937a4 (diff) | |
parent | 62cd50fe1edd67308cf0a2e5407bd4005e705681 (diff) |
Merged from viewer-release
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(); } |