aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/event-page.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs/event-page.c')
-rw-r--r--calendar/gui/dialogs/event-page.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c
index cb4698fcf3..12931cee09 100644
--- a/calendar/gui/dialogs/event-page.c
+++ b/calendar/gui/dialogs/event-page.c
@@ -779,6 +779,9 @@ update_time (EventPage *epage,
end_tt = &implied_tt;
*end_tt = *start_tt;
icaltime_adjust (end_tt, 1, 0, 0, 0);
+ } else if (!end_tt) {
+ end_tt = &implied_tt;
+ *end_tt = *start_tt;
}
if (start_tt->is_date && end_tt->is_date) {