diff -r f747389cd752 -r 0d213b5329c6 messagingappbase/mce/src/MceMessageListView.cpp --- a/messagingappbase/mce/src/MceMessageListView.cpp Mon Mar 08 21:43:20 2010 +0000 +++ b/messagingappbase/mce/src/MceMessageListView.cpp Sun Mar 14 13:09:10 2010 +0000 @@ -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 ) {