phonebookui/Speeddial/src/SpdiaContainer.cpp
branchRCL_3
changeset 13 a6539d1e8e43
parent 11 2828b4d142c0
--- a/phonebookui/Speeddial/src/SpdiaContainer.cpp	Tue May 25 12:26:45 2010 +0300
+++ b/phonebookui/Speeddial/src/SpdiaContainer.cpp	Wed Jun 09 09:26:27 2010 +0300
@@ -260,7 +260,7 @@
              iSpeedPrivate->GridStatus() == CSpeedDialPrivate::EGridUse )
             {
             // if refresh grid here, termination will be interrupt when edit type is full screen QWERTY.
-            RefreshGrid();
+            // RefreshGrid();
             iGrid->HandleResourceChange( aType );
 
             // Reload menubar when swap between landscape and portrait mode.
@@ -490,8 +490,6 @@
     // If not, updated the option menu
     else if ( !iView->IsFocused() )
     	{
-    	// LOGTEXT( _L("CR addition: handle HW key shortcuts event in OfferKeyEventL()") );
-    	iGrid->SetCurrentDataIndex( 0 );
         iView->LoadCba( MenuResourceID() );
         MiddleSoftKeyL();
     	}
@@ -1064,6 +1062,12 @@
         return;
         }
   
+    //reset iLongTapUsed 
+    if ( aPointerEvent.iType == TPointerEvent::EButton1Down )
+        {
+        iLongTapUsed = EFalse;
+        }
+    
     if ( ( aPointerEvent.iType == TPointerEvent::EButton1Down ) ||
              ( aPointerEvent.iType == TPointerEvent::EButton1Up ) )
     	{