uifw/AvKon/src/AknSettingPage.cpp
branchRCL_3
changeset 15 08e69e956a8c
parent 9 aabf2c525e0f
child 16 71dd06cfe933
--- a/uifw/AvKon/src/AknSettingPage.cpp	Mon Mar 15 12:41:34 2010 +0200
+++ b/uifw/AvKon/src/AknSettingPage.cpp	Wed Mar 31 21:59:52 2010 +0300
@@ -1391,17 +1391,6 @@
 	{
     AknItemActionMenuRegister::SetOverridingMenuBarOwnerL( NULL );
 
-	if ( GfxTransEffect::IsRegistered( this ) )
-	    {
-        GfxTransEffect::Begin( this, KGfxControlDisappearAction );
-        MakeVisible( EFalse );
-        GfxTransEffect::End( this );
-	    }
-	else
-	    {
-        MakeVisible( EFalse );
-	    }
-	    
 	if ( aAccept )
 		{
 		AcceptSettingL();
@@ -1414,6 +1403,17 @@
 		if ( iSettingPageObserver )
 			iSettingPageObserver->HandleSettingPageEventL(this, MAknSettingPageObserver::EEventSettingCancelled);
 		}
+	
+	if ( GfxTransEffect::IsRegistered( this ) )
+	    {
+        GfxTransEffect::Begin( this, KGfxControlDisappearAction );
+        MakeVisible( EFalse );
+        GfxTransEffect::End( this );
+	    }
+	else
+	    {
+        MakeVisible( EFalse );
+	    }
 
 	iEikonEnv->RemoveFromStack(iCba);
 	delete iCba;