calendarui/views/src/calenmonthview.cpp
changeset 70 a5ed90760192
parent 64 1881ad52dc45
child 75 7ac58b2aae6f
--- a/calendarui/views/src/calenmonthview.cpp	Tue Aug 31 18:15:13 2010 +0530
+++ b/calendarui/views/src/calenmonthview.cpp	Mon Sep 06 10:12:45 2010 +0530
@@ -328,7 +328,10 @@
 	// Connect to the signal when options menu is shown
 	// This is required to add/remove dynamically some options
 	connect(menu(), SIGNAL(aboutToShow ()), this,
-			SLOT(addRemoveActionsInMenu()));	
+										SLOT(addRemoveActionsInMenu()));
+	// Close the menu once closeDialogs() is received
+	connect(this, SIGNAL(closeDialogs()), menu(), SLOT(close()));
+		
 	//add "show lunar data" action item ,if regional plugin is present
 	//regional plugin will add the option itself and handles it accordingly
 	//use this api after adding all action item to the menu