-rw-r--r-- | core/pim/today/today.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 58ba4f4..aef0a9b 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp @@ -146,6 +146,7 @@ void Today::draw() { // if the todolist.xml file was not modified in between, do not parse it. if (checkIfModified()) { + if (todo) delete todo; todo = new ToDoDB; getTodo(); } |