menufw/menufwui/mmwidgets/src/mmlistbox.cpp
changeset 2 08c6ee43b396
parent 0 f72a12da539e
child 4 4d54b72983ae
equal deleted inserted replaced
1:5315654608de 2:08c6ee43b396
   131     {
   131     {
   132     TInt itemUnderPointerIndex = KErrNotFound;
   132     TInt itemUnderPointerIndex = KErrNotFound;
   133     if ( aPointerEvent.iType == TPointerEvent::EButton1Up ||
   133     if ( aPointerEvent.iType == TPointerEvent::EButton1Up ||
   134             aPointerEvent.iType == TPointerEvent::EButton1Down )
   134             aPointerEvent.iType == TPointerEvent::EButton1Down )
   135         {
   135         {
       
   136         iListBoxFlags &= ~ELeftDownInViewRect; // prevent kinetic scrolling
   136         CEikFormattedCellListBoxTypedef::HandlePointerEventL( aPointerEvent );
   137         CEikFormattedCellListBoxTypedef::HandlePointerEventL( aPointerEvent );
   137         }
   138         }
   138     else if ( View()->XYPosToItemIndex(
   139     else if ( View()->XYPosToItemIndex(
   139             aPointerEvent.iPosition, itemUnderPointerIndex ) )
   140             aPointerEvent.iPosition, itemUnderPointerIndex ) )
   140         {
   141         {