summaryrefslogtreecommitdiff
path: root/core/pim/todo/mainwindow.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/todo/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/mainwindow.cpp7
1 files changed, 4 insertions, 3 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() {
}
-
raiseCurrentView( );
@@ -499,2 +498,3 @@ void MainWindow::setCategory( int c) {
+
qWarning("Iterating over cats %d", c );
@@ -515,2 +515,3 @@ void MainWindow::setCategory( int c) {
m_catMenu->setItemChecked( c, true );
+
currentView()->setShowCategory( m_curCat );
@@ -551,4 +552,3 @@ void MainWindow::slotShowDetails() {
void MainWindow::populateCategories() {
- if (m_todoMgr.isLoaded() )
- m_todoMgr.load();
+ m_todoMgr.load();
@@ -616,2 +616,3 @@ void MainWindow::slotEdit( int uid ) {
currentView()->replaceEvent( todo );
+ /* a Category might have changed */
populateCategories();