Fire-865; Scroll next/prev was not handled in IM tabs.

Nicky 2011-10-29 21:50:49 +02:00
parent 30d2621d3a
commit 6bbae0c736
1 changed files with 8 additions and 0 deletions

View File

@ -600,6 +600,14 @@ BOOL LLTabContainer::handleMouseDown( S32 x, S32 y, MASK mask )
gFocusMgr.setMouseCapture(this);
tab_button->setFocus(TRUE);
}
//<ND> Fire-865; Scroll next/prev was not handled in IM tabs
else if (mPrevArrowBtn && mPrevArrowBtn->getRect().pointInRect(x, y))
{
selectPrevTab();
}
else if (mNextArrowBtn && mNextArrowBtn->getRect().pointInRect(x, y))
selectNextTab();
//</ND>
}
return handled;
}