notes/notesui/notesviewmanager/src/notesviewmanager.cpp
changeset 50 579cc610882e
parent 49 5de72ea7a065
child 58 ef813d54df51
--- a/notes/notesui/notesviewmanager/src/notesviewmanager.cpp	Wed Jun 23 18:11:28 2010 +0300
+++ b/notes/notesui/notesviewmanager/src/notesviewmanager.cpp	Tue Jul 06 14:14:56 2010 +0300
@@ -61,10 +61,6 @@
 
 	mAgendaUtil = mAppControllerIf.agendaUtil();
 
-	connect(
-			mAgendaUtil, SIGNAL(instanceViewCreationCompleted(int)),
-			this,SLOT(handleInstanceViewCreationCompleted(int)));
-
 	// Check the Application Startup reason from Activity Manager
 	int activityReason = qobject_cast<HbApplication*>(qApp)->activateReason();
 
@@ -96,6 +92,10 @@
         loadNotesMainView();
 	    }
 
+	connect(
+			mAgendaUtil, SIGNAL(instanceViewCreationCompleted(int)),
+			this,SLOT(handleInstanceViewCreationCompleted(int)));
+
 	// Delay loading of other views till main view is loaded.
 	connect(
 			window, SIGNAL(viewReady()),
@@ -403,5 +403,11 @@
 
 	// Update the title for to-do view.
 	mTodoView->updateTitle();
+	
+	// Update the plain notes view.
+	mNoteView->updateNoteView();
+	
+	// Update the favorites view.
+	mFavoriteView->updateFavoriteView();
 }
 // End of file	--Don't remove this.