diff options
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r-- | calendar/gui/gnome-cal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index b65437a045..0a1a0c8478 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -1670,8 +1670,10 @@ set_view (GnomeCalendar *gcal, GnomeCalendarViewType view_type, gboolean range_s } priv->range_selected = range_selected; + priv->current_view_type = view_type; gal_view_instance_set_current_view_id (priv->view_instance, view_id); + focus_current_view (gcal); } |