-rw-r--r-- | core/pim/todo/mainwindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp index 48954ce..c9c43d4 100644 --- a/core/pim/todo/mainwindow.cpp +++ b/core/pim/todo/mainwindow.cpp | |||
@@ -422,3 +422,2 @@ void MainWindow::slotNew() { | |||
422 | } | 422 | } |
423 | |||
424 | raiseCurrentView( ); | 423 | raiseCurrentView( ); |
@@ -499,2 +498,3 @@ void MainWindow::setCategory( int c) { | |||
499 | 498 | ||
499 | |||
500 | qWarning("Iterating over cats %d", c ); | 500 | qWarning("Iterating over cats %d", c ); |
@@ -515,2 +515,3 @@ void MainWindow::setCategory( int c) { | |||
515 | m_catMenu->setItemChecked( c, true ); | 515 | m_catMenu->setItemChecked( c, true ); |
516 | |||
516 | currentView()->setShowCategory( m_curCat ); | 517 | currentView()->setShowCategory( m_curCat ); |
@@ -551,3 +552,2 @@ void MainWindow::slotShowDetails() { | |||
551 | void MainWindow::populateCategories() { | 552 | void MainWindow::populateCategories() { |
552 | if (m_todoMgr.isLoaded() ) | ||
553 | m_todoMgr.load(); | 553 | m_todoMgr.load(); |
@@ -616,2 +616,3 @@ void MainWindow::slotEdit( int uid ) { | |||
616 | currentView()->replaceEvent( todo ); | 616 | currentView()->replaceEvent( todo ); |
617 | /* a Category might have changed */ | ||
617 | populateCategories(); | 618 | populateCategories(); |