-rw-r--r-- | libkcal/sharpformat.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libkcal/sharpformat.cpp b/libkcal/sharpformat.cpp index 24b8349..c2ee2c9 100644 --- a/libkcal/sharpformat.cpp +++ b/libkcal/sharpformat.cpp @@ -256,4 +256,7 @@ class SharpParser : public QObject todo->setCompleted( true ); - else + else { + // do not change percent complete + if ( todo->isCompleted() ) todo->setCompleted( false ); + } mCalendar->addTodo( todo ); |