uifw/AvKon/src/AknSettingPage.cpp
branchRCL_3
changeset 5 aabf2c525e0f
parent 3 8ca85d2f0db7
child 7 08e69e956a8c
--- a/uifw/AvKon/src/AknSettingPage.cpp	Fri Feb 19 23:04:46 2010 +0200
+++ b/uifw/AvKon/src/AknSettingPage.cpp	Fri Mar 12 15:43:43 2010 +0200
@@ -1391,6 +1391,17 @@
 	{
     AknItemActionMenuRegister::SetOverridingMenuBarOwnerL( NULL );
 
+	if ( GfxTransEffect::IsRegistered( this ) )
+	    {
+        GfxTransEffect::Begin( this, KGfxControlDisappearAction );
+        MakeVisible( EFalse );
+        GfxTransEffect::End( this );
+	    }
+	else
+	    {
+        MakeVisible( EFalse );
+	    }
+	    
 	if ( aAccept )
 		{
 		AcceptSettingL();
@@ -1403,17 +1414,6 @@
 		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;