From 958515a10ad2c5fd363381fed9a317c29433a04d Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Fri, 4 Feb 2005 11:22:52 +0000 Subject: Fixes #71265 2005-02-04 Rodrigo Moya Fixes #71265 * gui/e-week-view.c (e_week_view_remove_event_cb): * gui/e-day-view.c (e_day_view_remove_event_cb): if we remove the event we were editing, update internal pointers. svn path=/trunk/; revision=28707 --- calendar/gui/e-week-view.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'calendar/gui/e-week-view.c') diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index d829675624..684d278d84 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -1913,6 +1913,9 @@ e_week_view_remove_event_cb (EWeekView *week_view, if (week_view->editing_event_num == event_num) week_view->editing_event_num = -1; + if (week_view->popup_event_num == event_num) + week_view->popup_event_num = -1; + /* We leave the span elements in the array, but set the canvas item pointers to NULL. */ for (span_num = 0; span_num < event->num_spans; span_num++) { -- cgit