summaryrefslogtreecommitdiff
path: root/core/pim/todo/mainwindow.cpp
authorzecke <zecke>2002-10-21 13:45:10 (UTC)
committer zecke <zecke>2002-10-21 13:45:10 (UTC)
commit5e2e1e70e6cc7cadce96e42f83951b87e3f2209e (patch) (unidiff)
tree6350fbbaf5a4494817a133f46fea44baeb1e3098 /core/pim/todo/mainwindow.cpp
parent2c61d682a74f9ce2a216cf59c33c3dcecf00a213 (diff)
downloadopie-5e2e1e70e6cc7cadce96e42f83951b87e3f2209e.zip
opie-5e2e1e70e6cc7cadce96e42f83951b87e3f2209e.tar.gz
opie-5e2e1e70e6cc7cadce96e42f83951b87e3f2209e.tar.bz2
Fix a bug where newly added items did not show up in the view
Now we add the Entry to the backend first and then update the view next step is to make place for the new EditorWidget It features Completed/Start Date State Began, Postponed... Maintainer Mode: needs to be done by... Maintainer: Choose a person who is responsible for ( once implemented I hope he master of our feeds is happy ) Recurrance Widget Alarms + Reminders Widget Parent to be added Most of it is not implemented cause first of all OTodo does not know anything about these attributes but this will change soon. I'll start to implement it very soon
Diffstat (limited to 'core/pim/todo/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/mainwindow.cpp3
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...