uifw/AvKon/src/AknPreviewPopUpController.cpp
branchRCL_3
changeset 72 a5e7a4f63858
parent 64 85902f042028
--- a/uifw/AvKon/src/AknPreviewPopUpController.cpp	Wed Sep 15 12:29:17 2010 +0300
+++ b/uifw/AvKon/src/AknPreviewPopUpController.cpp	Wed Oct 13 14:50:15 2010 +0300
@@ -131,15 +131,6 @@
 //
 CAknPreviewPopUpController::~CAknPreviewPopUpController()
     {
-    // If transition effect is on, when the deleting is caused by pressing red key
-    // (the font for CONE is already destroyed), the preview popup's hide operation
-    // will call its draw operation which will use the deleted font, thus panic happens;
-    // we hide the popup here in advance to prevent transation effect from drawing.
-    if( iPopUp->IsVisible() )
-        {
-        iPopUp->MakeVisible( EFalse );
-        }
-
     Cancel();
     delete iPopUp;
     iObservers.Reset();