aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/eventedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/eventedit.c')
-rw-r--r--calendar/gui/eventedit.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/gui/eventedit.c b/calendar/gui/eventedit.c
index 057c2652d2..5b45674d00 100644
--- a/calendar/gui/eventedit.c
+++ b/calendar/gui/eventedit.c
@@ -385,7 +385,10 @@ ee_create_ae (GtkTable *table, char *str, CalendarAlarm *alarm, enum AlarmType t
break;
}
- ee_alarm_setting (alarm, alarm->enabled);
+ if (control_sens)
+ ee_alarm_setting (alarm, alarm->enabled);
+ else
+ ee_alarm_setting (alarm, TRUE);
}
static GtkWidget *