summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-06-15 16:29:29 -0700
committerRichard Linden <none@none>2010-06-15 16:29:29 -0700
commit594d2618aab8ce8365e7939e8e6d69c92e451493 (patch)
tree5f6cf396ef4ba105a223e6f8ac21d83ef842a9e0
parentf56bc6c04aaa5a1ee3c4a6813656eeb12cf5b2c4 (diff)
fixed crash in accordionctrl
-rw-r--r--indra/llui/llaccordionctrltab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llaccordionctrltab.cpp b/indra/llui/llaccordionctrltab.cpp
index be231fd8cf..54bb328a18 100644
--- a/indra/llui/llaccordionctrltab.cpp
+++ b/indra/llui/llaccordionctrltab.cpp
@@ -974,7 +974,7 @@ BOOL LLAccordionCtrlTab::handleScrollWheel ( S32 x, S32 y, S32 clicks )
{
return TRUE;
}
- if( mScrollbar->getVisible() && mScrollbar->handleScrollWheel( 0, 0, clicks ) )
+ if( mScrollbar && mScrollbar->getVisible() && mScrollbar->handleScrollWheel( 0, 0, clicks ) )
{
return TRUE;
}