diff options
Diffstat (limited to 'modules/calendar/e-memo-shell-view-actions.c')
-rw-r--r-- | modules/calendar/e-memo-shell-view-actions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/calendar/e-memo-shell-view-actions.c b/modules/calendar/e-memo-shell-view-actions.c index 69bf9c5e8e..c915da2a24 100644 --- a/modules/calendar/e-memo-shell-view-actions.c +++ b/modules/calendar/e-memo-shell-view-actions.c @@ -362,8 +362,9 @@ action_memo_new_cb (GtkAction *action, g_return_if_fail (client != NULL); - editor = memo_editor_new (client, shell, COMP_EDITOR_NEW_ITEM); comp = cal_comp_memo_new_with_defaults (client); + cal_comp_update_time_by_active_window (comp, shell); + editor = memo_editor_new (client, shell, COMP_EDITOR_NEW_ITEM); comp_editor_edit_comp (editor, comp); gtk_window_present (GTK_WINDOW (editor)); |