commsconfig/cscsettingsui/src/cscsettingsuiimpl.cpp
branchRCL_3
changeset 11 bddb6d4447db
parent 0 a4daefaec16c
equal deleted inserted replaced
10:7117cbf1600a 11:bddb6d4447db
   117     if ( NULL == iMainView )
   117     if ( NULL == iMainView )
   118         {
   118         {
   119         iMainView = CCSCSettingsUiMainView::NewL( *iModel );
   119         iMainView = CCSCSettingsUiMainView::NewL( *iModel );
   120         AppUi()->AddViewL( iMainView ); // ownership is transferred
   120         AppUi()->AddViewL( iMainView ); // ownership is transferred
   121         }
   121         }
       
   122     else
       
   123         {
       
   124         // Already initialised. Reset view since we're probably switching
       
   125         // between different service settings.
       
   126         iMainView->ResetViewL();
       
   127         }
   122     
   128     
   123     // Set initialization information data. The function leaves if given 
   129     // Set initialization information data. The function leaves if given 
   124     // service does not exist.
   130     // service does not exist.
   125     iModel->StoreInitializationDataL( aReturnViewId, aServiceId );
   131     iModel->StoreInitializationDataL( aReturnViewId, aServiceId );
   126     
   132