--- a/phonebookui/Phonebook2/UIControls/src/CPbk2NamesListControl.cpp Tue Sep 14 20:54:53 2010 +0300
+++ b/phonebookui/Phonebook2/UIControls/src/CPbk2NamesListControl.cpp Wed Sep 15 11:56:55 2010 +0300
@@ -1441,6 +1441,8 @@
void CPbk2NamesListControl::SizeChanged()
{
iCurrentState->SizeChanged();
+ // Reset the popup char flag so that the char will not be shown.
+ iListBox->ResetShowPopupChar();
}
// --------------------------------------------------------------------------
@@ -2427,7 +2429,9 @@
{
if( iCurrentState->NamesListState() == EStateEmpty )
{
- SelectAndChangeReadyStateL();
+ // Trap the function because it may leave.
+ TRAPD( res, SelectAndChangeReadyStateL() );
+ HandleError( res );
}
}
else