aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-08-09 08:56:37 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-08-09 08:56:37 +0800
commit574b671429269a1d80b4d74d59f583a2cd1bcf44 (patch)
treedf1f11cb1357cc26e517c8294091e89429d2f16b /calendar/gui
parentd73557c1db05b893da63049644368f039b74ff29 (diff)
downloadgsoc2013-evolution-574b671429269a1d80b4d74d59f583a2cd1bcf44.tar.gz
gsoc2013-evolution-574b671429269a1d80b4d74d59f583a2cd1bcf44.tar.zst
gsoc2013-evolution-574b671429269a1d80b4d74d59f583a2cd1bcf44.zip
Stop editing any event. Fixes bug #5949.
2001-08-08 Federico Mena Quintero <federico@ximian.com> * gui/e-day-view.c (update_query): Stop editing any event. Fixes bug #5949. svn path=/trunk/; revision=11807
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-day-view.c2
1 files changed, 2 insertions, 0 deletions
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);