messagingappbase/mce/src/mceui.cpp
branchRCL_3
changeset 13 a9c7e5670d17
parent 12 caea42e26caa
child 15 52d61119153d
--- a/messagingappbase/mce/src/mceui.cpp	Fri Mar 12 15:42:19 2010 +0200
+++ b/messagingappbase/mce/src/mceui.cpp	Mon Mar 15 12:40:06 2010 +0200
@@ -2954,24 +2954,6 @@
         iMMSNotifications = NULL;
         }
 
-    if ( local && ( ( iEntry->Entry().Parent() == KMsvGlobalInBoxIndexEntryId ) ||
-        ( iEntry->Entry().Parent() == KMsvGlobalOutBoxIndexEntryId ) ) ) 
-        {
-        CheckMMSNotificationsL( selection );
-        if (  selection->Count() <= 0 )
-            {
-            // delete mms notifications, if any
-            if ( iMMSNotifications->Count() > 0 )
-                {
-                //delete MMS notifications
-                TBuf8<1> params;
-                HandleMMSNotificationsDeleteL( params );
-                }
-            CleanupStack::PopAndDestroy( selection );
-            return;
-            }
-        }
-
     if ( local )
         {
         CAknQueryDialog* confDialog = CAknQueryDialog::NewL();
@@ -3006,6 +2988,26 @@
             return;
             }
         }
+    
+    if ( local && ( ( iEntry->Entry().Parent() == KMsvGlobalInBoxIndexEntryId ) ||
+        ( iEntry->Entry().Parent() == KMsvGlobalOutBoxIndexEntryId ) ) ) 
+        {
+        CheckMMSNotificationsL( selection );
+        if (  selection->Count() <= 0 )
+            {
+            // delete mms notifications, if any
+            if ( iMMSNotifications->Count() > 0 )
+                {
+                //delete MMS notifications
+                TBuf8<1> params;
+                HandleMMSNotificationsDeleteL( params );
+                }
+            CleanupStack::PopAndDestroy( selection );
+            return;
+            }
+        }
+
+   
     iEntry->SetEntryL( iEntry->Entry().Parent() );
 
     CBaseMtmUi* ui = NULL;