--- a/phonebookui/Phonebook2/UIControls/src/CPbk2AddItemToContactDlg.cpp Wed Mar 31 21:13:53 2010 +0300
+++ b/phonebookui/Phonebook2/UIControls/src/CPbk2AddItemToContactDlg.cpp Wed Apr 14 15:45:35 2010 +0300
@@ -392,6 +392,18 @@
CModel* listBoxModel = new(ELeave) CModel( aAddItems, *iconArray );
iListBox->Model()->SetItemTextArray(listBoxModel);
iListBox->Model()->SetOwnershipType(ELbmOwnsItemArray);
+
+ CEikStatusPane* statusPane = iAvkonAppUi->StatusPane();
+ if (statusPane)
+ {
+ TInt currentStatusPaneResId = statusPane->CurrentLayoutResId();
+ // Make the statusPane update when it was already set to EMPTY status,
+ // in other case it'll update itself automaticlly
+ if( currentStatusPaneResId == R_AVKON_STATUS_PANE_LAYOUT_EMPTY )
+ {
+ statusPane->SwitchLayoutL( R_AVKON_STATUS_PANE_LAYOUT_USUAL );
+ }
+ }
}
// --------------------------------------------------------------------------