aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/task-details-page.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/task-details-page.c b/calendar/gui/dialogs/task-details-page.c
index 1af190a201..6212e8f76f 100644
--- a/calendar/gui/dialogs/task-details-page.c
+++ b/calendar/gui/dialogs/task-details-page.c
@@ -387,6 +387,11 @@ task_details_page_set_dates (CompEditorPage *page, CompEditorPageDates *dates)
tdpage = TASK_DETAILS_PAGE (page);
priv = tdpage->priv;
+ if (priv->updating)
+ return;
+
+ priv->updating = TRUE;
+
comp_editor_date_label (dates, priv->date_time);
if (dates->complete) {
@@ -412,6 +417,8 @@ task_details_page_set_dates (CompEditorPage *page, CompEditorPageDates *dates)
tt->hour, tt->minute);
}
}
+
+ priv->updating = FALSE;
}