textinput/peninputarc/src/peninputserverapp/penuiwndctrl.cpp
branchRCL_3
changeset 46 bd83ceabce89
parent 44 ecbabf52600f
child 50 5a1685599b76
--- a/textinput/peninputarc/src/peninputserverapp/penuiwndctrl.cpp	Wed Sep 01 12:23:33 2010 +0100
+++ b/textinput/peninputarc/src/peninputserverapp/penuiwndctrl.cpp	Tue Sep 14 21:59:06 2010 +0300
@@ -419,8 +419,9 @@
 	
 #ifdef RD_UI_TRANSITION_EFFECTS_POPUPS      
 	
-    if ( GfxTransEffect::IsRegistered( this ) && !IsVisible())
+    if ( iEnableGfxTransEffect && GfxTransEffect::IsRegistered( this ) && !IsVisible())
         {
+        iEnableGfxTransEffect = EFalse;
         this->MakeVisible(EFalse);
         GfxTransEffect::NotifyExternalState( ENotifyGlobalAbort ); 
 
@@ -463,9 +464,9 @@
         return;
         }
 #ifdef RD_UI_TRANSITION_EFFECTS_POPUPS           
-    if ( GfxTransEffect::IsRegistered( this ))
+    if ( iEnableGfxTransEffect && GfxTransEffect::IsRegistered( this ) )
         {
-
+        iEnableGfxTransEffect = EFalse;
         GfxTransEffect::NotifyExternalState( ENotifyGlobalAbort ); 
 
         //If still visible, do a transition to invisible state.