-rw-r--r-- | libkcal/todo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libkcal/todo.cpp b/libkcal/todo.cpp index 2201814..cc1c5ae 100644 --- a/libkcal/todo.cpp +++ b/libkcal/todo.cpp | |||
@@ -112,6 +112,8 @@ void Todo::setRunning( bool run ) | |||
112 | void Todo::saveRunningInfo( QString comment, QDateTime start, QDateTime end ) | 112 | void Todo::saveRunningInfo( QString comment, QDateTime start, QDateTime end ) |
113 | { | 113 | { |
114 | if ( !mRunning) return; | 114 | if ( !mRunning) return; |
115 | if ( mRunSaveTimer ) | ||
116 | mRunSaveTimer->stop(); | ||
115 | mRunning = false; | 117 | mRunning = false; |
116 | mRunStart = start; | 118 | mRunStart = start; |
117 | mRunEnd = end; | 119 | mRunEnd = end; |