profilesapplication/Profiles/ProfileApp/SettingsViewSrc/CProfileSettingsContainer.cpp
changeset 2 627793106ff9
parent 1 09d076ed0f23
child 10 b79ee333c41d
--- a/profilesapplication/Profiles/ProfileApp/SettingsViewSrc/CProfileSettingsContainer.cpp	Thu Jan 07 12:46:32 2010 +0200
+++ b/profilesapplication/Profiles/ProfileApp/SettingsViewSrc/CProfileSettingsContainer.cpp	Mon Jan 18 20:19:40 2010 +0200
@@ -200,8 +200,11 @@
                 *( iAvkonAppUi->StatusPane() ), iEngineHandler );
 
         MProfilesNamesArray* nameArray = iEngineHandler.IdArray();
-        iNaviPaneContainer->SetNaviPaneTextL( 
-            nameArray->MdcaPoint( iIndexHandler->CurrentProfileIndex() ) );
+        if( iIndexHandler )
+            {
+            iNaviPaneContainer->SetNaviPaneTextL( 
+                nameArray->MdcaPoint( iIndexHandler->CurrentProfileIndex() ) );
+            }
         }
 
     iNotifier = CProfileChangeNotifyHandler::NewL( this );