-rw-r--r-- | korganizer/koeditorgeneraltodo.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/korganizer/koeditorgeneraltodo.cpp b/korganizer/koeditorgeneraltodo.cpp index da5ef07..6370b54 100644 --- a/korganizer/koeditorgeneraltodo.cpp +++ b/korganizer/koeditorgeneraltodo.cpp @@ -230,14 +230,16 @@ void KOEditorGeneralTodo::setDefaults(QDateTime due,bool allDay) mDueTimeEdit->setTime(due.time()); due = due.addDays(-7); mStartDateEdit->setDate(due.date()); mStartTimeEdit->setTime(due.time()); mPriorityCombo->setCurrentItem(2); - mCompletedLabel->setText(i18n("completed"));; + mCompletedLabel->setText(i18n(" completed"));; mCompletedCombo->setCurrentItem(0); + mCompleteDateEdit->hide(); + mCompleteTimeEdit->hide(); } void KOEditorGeneralTodo::readTodo(Todo *todo) { mSummaryEdit->load(KOLocationBox::SUMMARYTODO); @@ -462,13 +464,13 @@ void KOEditorGeneralTodo::setCompletedDate() mCompletedLabel->setText(i18n(" completed on ")); mCompleteDateEdit->show(); mCompleteTimeEdit->show(); mCompleteTimeEdit->setTime( mCompleted.time() ); mCompleteDateEdit->setDate( mCompleted.date() ); } else { - mCompletedLabel->setText(i18n("completed")); + mCompletedLabel->setText(i18n(" completed")); mCompleteDateEdit->hide(); mCompleteTimeEdit->hide(); } } void KOEditorGeneralTodo::modified (Todo* todo, int modification) |