phoneuis/easydialing/src/easydialingcontactdatamanager.cpp
branchRCL_3
changeset 7 544e34b3255a
parent 6 38529f706030
child 20 3c221667e687
--- a/phoneuis/easydialing/src/easydialingcontactdatamanager.cpp	Wed Mar 31 21:30:06 2010 +0300
+++ b/phoneuis/easydialing/src/easydialingcontactdatamanager.cpp	Wed Apr 14 15:56:42 2010 +0300
@@ -323,14 +323,17 @@
 //
 void CEasyDialingContactDataManager::Pause( TBool aPause )
     {
-    iPause = aPause;
-    
-    if ( !iPause && iWaitingContacts.Count() )
+    if ( iPause != aPause )
         {
-        TRAPD( err, LoadNextContactDataL());
-        if ( err )
+        iPause = aPause;
+        
+        if ( !iPause && iWaitingContacts.Count() )
             {
-            HandleError(err);
+            TRAPD( err, LoadNextContactDataL());
+            if ( err )
+                {
+                HandleError(err);
+                }
             }
         }
     }