diff -r d48ab3b357f1 -r 978afdc0236f uifw/eikctl/src/EIKSECED.CPP --- a/uifw/eikctl/src/EIKSECED.CPP Wed Sep 01 12:16:19 2010 +0100 +++ b/uifw/eikctl/src/EIKSECED.CPP Tue Sep 14 21:48:24 2010 +0300 @@ -283,6 +283,15 @@ delete listener; } #endif + // When destruct secret editor, inform FEP that secret editor has been destroyed , + // so FEP can get opportunity to do some clean work, e.g. closing opened SCT dialog. + if ( iFepState ) + { + TRAP_IGNORE( + static_cast( iFepState )->ReportAknEdStateEventL( + MAknEdStateObserver::EAknEdwinDestroy ) + ); + } delete iInlineEditText; delete iFepState; delete iTimer;