equal
deleted
inserted
replaced
129 // CAknPreviewPopUpController::~CAknPreviewPopUpController |
129 // CAknPreviewPopUpController::~CAknPreviewPopUpController |
130 // ----------------------------------------------------------------------------- |
130 // ----------------------------------------------------------------------------- |
131 // |
131 // |
132 CAknPreviewPopUpController::~CAknPreviewPopUpController() |
132 CAknPreviewPopUpController::~CAknPreviewPopUpController() |
133 { |
133 { |
|
134 // If transition effect is on, when the deleting is caused by pressing red key |
|
135 // (the font for CONE is already destroyed), the preview popup's hide operation |
|
136 // will call its draw operation which will use the deleted font, thus panic happens; |
|
137 // we hide the popup here in advance to prevent transation effect from drawing. |
|
138 if( iPopUp->IsVisible() ) |
|
139 { |
|
140 iPopUp->MakeVisible( EFalse ); |
|
141 } |
|
142 |
134 Cancel(); |
143 Cancel(); |
135 delete iPopUp; |
144 delete iPopUp; |
136 iObservers.Reset(); |
145 iObservers.Reset(); |
137 } |
146 } |
138 |
147 |