Diffstat (limited to 'korganizer/koeditorgeneraltodo.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | korganizer/koeditorgeneraltodo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/korganizer/koeditorgeneraltodo.cpp b/korganizer/koeditorgeneraltodo.cpp index a9d1ed3..a03ec52 100644 --- a/korganizer/koeditorgeneraltodo.cpp +++ b/korganizer/koeditorgeneraltodo.cpp @@ -215,13 +215,14 @@ void KOEditorGeneralTodo::setDefaults(QDateTime due,bool allDay) if ( due.isValid() ) { mDueCheck->setChecked(true); enableDueEdit(true); + alarmDisable(false); } else { mDueCheck->setChecked(false); enableDueEdit(false); due = QDateTime::currentDateTime().addDays(7); + alarmDisable(true); } - alarmDisable(true); mStartCheck->setChecked(false); enableStartEdit(false); |