diff -r 4697dfb2d7ad -r 1d7827e39b52 messagingappbase/mce/src/MceMessageListView.cpp --- a/messagingappbase/mce/src/MceMessageListView.cpp Tue Feb 02 00:08:43 2010 +0200 +++ b/messagingappbase/mce/src/MceMessageListView.cpp Fri Feb 19 22:47:38 2010 +0200 @@ -2539,7 +2539,26 @@ == KErrNone ) { iMsgListContainer->ClearSelection(); - SetFolderL( aNewFolderId ); + + if ((oldId == KMsvGlobalOutBoxIndexEntryId) || (aNewFolderId == KMsvGlobalOutBoxIndexEntryId)) + { + iFolderId = aNewFolderId; + iMsgListContainer->MakeVisible(EFalse); + AppUi()->RemoveFromStack(iMsgListContainer); + delete iMsgListContainer; + iMsgListContainer = NULL; + CreateListboxL(); + iMsgListContainer->SetRect(ClientRect()); + AppUi()->AddToStackL( *this,iMsgListContainer ); + iMsgListContainer->ActivateL(); + iMsgListContainer->MakeVisible(ETrue); + iMsgListContainer->SetFolderL( iFolderId ); + } + else + { + SetFolderL( aNewFolderId ); + } + TUid mtm = iMsgListContainer->FolderEntry().iMtm; if ( mtm == KSenduiMtmImap4Uid ) {