--- a/emailuis/emailui/src/FreestyleEmailUiAppui.cpp Wed Mar 31 21:08:33 2010 +0300
+++ b/emailuis/emailui/src/FreestyleEmailUiAppui.cpp Wed Apr 14 15:42:15 2010 +0300
@@ -1361,8 +1361,13 @@
{
iCurrentActiveView->HandleAppForegroundEventL( EFalse );
}
+ // in case the popupmenu is shown propagate event to it
+ if( iFolderListVisualiser && iFolderListVisualiser->IsPopupShown() )
+ {
+ iFolderListVisualiser->HandleAppForegroundEventL( EFalse );
+ }
+ }
break;
- }
case KAknFullOrPartialForegroundGained:
{
if ( iCurrentActiveView && !iSettingsViewActive )
@@ -1374,17 +1379,21 @@
iPendingLayoutSwitch = EFalse;
}
}
-
- // Call status indicator's foreground event to resize the connection screen after the screensaver
- if ( iStatusIndicator )
+ // Call status indicator's foreground event to resize the connection screen after the screensaver
+ if ( iStatusIndicator )
{
iStatusIndicator->HandleForegroundEventL();
}
- }
- break;
+ // in case the popupmenu is shown propagate event to it
+ if( iFolderListVisualiser && iFolderListVisualiser->IsPopupShown() )
+ {
+ iFolderListVisualiser->HandleAppForegroundEventL( ETrue );
+ }
+ }
+ break;
default:
break;
- }
+ }
// Close menu
if ( closeMenu && iCurrentActiveView != NULL )