aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/gncal-todo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/gncal-todo.c b/calendar/gui/gncal-todo.c
index 0b7579bb7c..4f2f0345bb 100644
--- a/calendar/gui/gncal-todo.c
+++ b/calendar/gui/gncal-todo.c
@@ -264,6 +264,11 @@ add_activated (GtkWidget *widget, GncalTodo *todo)
static void
edit_activated (GtkWidget *widget, GncalTodo *todo)
{
+ GtkWidget *w;
+
+ while ((w = gtk_grab_get_current ()) != NULL)
+ gtk_grab_remove (w);
+
edit_todo (todo);
}