idlefw/src/framework/aifw.cpp
branchRCL_3
changeset 130 67f2ed48ad91
parent 114 a5a39a295112
--- a/idlefw/src/framework/aifw.cpp	Wed Sep 15 12:32:36 2010 +0300
+++ b/idlefw/src/framework/aifw.cpp	Wed Oct 13 14:53:46 2010 +0300
@@ -256,7 +256,9 @@
     __TICK( "CAiFw::HandleUiReadyEventL" );
     
     if ( iUiControllerManager->IsMainUiController( aUiController ) )
-        {    
+        {
+        iUiControllerManager->LoadUIDefinition();
+
         TInt value( EIdlePhase1Ok );
         
         RProperty::Get( KPSUidStartup, KPSIdlePhase1Ok, value ); 
@@ -300,8 +302,6 @@
     __PRINTS( "*** CAiFw::HandleActivateUI" );
     __TIME_MARK( time );
     
-    iUiControllerManager->LoadUIDefinition();
-    
     iUiControllerManager->ActivateUI();     
     
     __TIME_ENDMARK( "CAiFw::HandleActivateUI, done", time );