aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-week-view.c')
-rw-r--r--calendar/gui/e-week-view.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index d73ad7c277..c58c1dcb1b 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -1033,6 +1033,9 @@ e_week_view_focus (GtkWidget *widget, GtkDirectionType direction)
new_event_num,
new_span_num,
NULL);
+ last_focus_event_num = new_event_num;
+ last_focus_span_num = new_span_num;
+
if (editable)
break;
else {
@@ -1059,8 +1062,6 @@ e_week_view_focus (GtkWidget *widget, GtkDirectionType direction)
return TRUE;
}
}
- last_focus_event_num = new_event_num;
- last_focus_span_num = new_span_num;
}
return editable;
}