-rw-r--r-- | korganizer/kotodoeditor.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/korganizer/kotodoeditor.cpp b/korganizer/kotodoeditor.cpp index abeb068..16c19a4 100644 --- a/korganizer/kotodoeditor.cpp +++ b/korganizer/kotodoeditor.cpp @@ -270,14 +270,17 @@ void KOTodoEditor::setDefaults(QDateTime due,Todo *relatedEvent,bool allDay) { mRelatedTodo = relatedEvent; mGeneral->setDefaults(due,allDay); mDetails->setDefaults(); showPage( 0 ); - if ( mRelatedTodo ) + if ( mRelatedTodo ) { mGeneral->setCategories (mRelatedTodo->categoriesStr ()); + mGeneral->setSecrecy (mRelatedTodo->secrecy ()); + + } mGeneral->setFocusOn( 2 ); } void KOTodoEditor::readTodo(Todo *todo) { mGeneral->readTodo(todo); |