Diffstat (limited to 'core/pim/todo/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/mainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp index 8377573..bf9fc23 100644 --- a/core/pim/todo/mainwindow.cpp +++ b/core/pim/todo/mainwindow.cpp | |||
@@ -426,8 +426,9 @@ void MainWindow::slotNew() { | |||
426 | 426 | ||
427 | if ( currentEditor()->accepted() ) { | 427 | if ( currentEditor()->accepted() ) { |
428 | //todo.assignUid(); | 428 | //todo.assignUid(); |
429 | currentView()->addEvent( todo ); | ||
430 | m_todoMgr.add( todo ); | 429 | m_todoMgr.add( todo ); |
430 | currentView()->addEvent( todo ); | ||
431 | |||
431 | 432 | ||
432 | // I'm afraid we must call this every time now, otherwise | 433 | // I'm afraid we must call this every time now, otherwise |
433 | // spend expensive time comparing all these strings... | 434 | // spend expensive time comparing all these strings... |