aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/e-day-view.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index be47d5db3d..2cb2ad1e7c 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,10 @@
2001-08-08 Federico Mena Quintero <federico@ximian.com>
+ * gui/e-day-view.c (update_query): Stop editing any event. Fixes
+ bug #5949.
+
+2001-08-08 Federico Mena Quintero <federico@ximian.com>
+
* gui/dialogs/alarm-page.c (alarm_page_fill_component): Duuuh, set
the alarm_copy on the component, not the original alarm. Fixes
bug #5214.
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index 560efd0ffa..7c3879fc13 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -1597,6 +1597,8 @@ update_query (EDayView *day_view)
CalQuery *old_query;
char *real_sexp;
+ e_day_view_stop_editing_event (day_view);
+
e_day_view_free_events (day_view);
gtk_widget_queue_draw (day_view->top_canvas);
gtk_widget_queue_draw (day_view->main_canvas);