MAINT-2465 FIXED Viewer crash when hovering in fast timers floater

Mnikolenko Productengine 2016-10-31 17:47:38 +02:00
parent 68267b611c
commit 348807d23d
1 changed files with 2 additions and 2 deletions

View File

@ -238,7 +238,7 @@ BOOL LLFastTimerView::handleHover(S32 x, S32 y, MASK mask)
{
return TRUE;
}
else if (mHoverBarIndex == -1)
else if (mHoverBarIndex < 0)
{
mHoverBarIndex = 0;
}
@ -260,7 +260,7 @@ BOOL LLFastTimerView::handleHover(S32 x, S32 y, MASK mask)
{
hover_bar = &bar;
if (bar.mTimeBlock->getTreeNode().mCollapsed)
{
{
// stop on first collapsed BlockTimerStatHandle, since we can't select any children
break;
}