summaryrefslogtreecommitdiffabout
path: root/korganizer/koviewmanager.cpp
authorzautrix <zautrix>2005-05-24 22:30:39 (UTC)
committer zautrix <zautrix>2005-05-24 22:30:39 (UTC)
commitc0ca8beceaa7a366a2d74a82504cad19f4ccd642 (patch) (side-by-side diff)
tree80d7934f39d856801c2491d735455cea1b119e8b /korganizer/koviewmanager.cpp
parenta3a535e57c53071eb15aa034472d402d619ca84d (diff)
downloadkdepimpi-c0ca8beceaa7a366a2d74a82504cad19f4ccd642.zip
kdepimpi-c0ca8beceaa7a366a2d74a82504cad19f4ccd642.tar.gz
kdepimpi-c0ca8beceaa7a366a2d74a82504cad19f4ccd642.tar.bz2
todo fix
Diffstat (limited to 'korganizer/koviewmanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koviewmanager.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp
index 2e5a943..fb4de37 100644
--- a/korganizer/koviewmanager.cpp
+++ b/korganizer/koviewmanager.cpp
@@ -831,5 +831,8 @@ void KOViewManager::addView(KOrg::BaseView *view)
void KOViewManager::setDocumentId( const QString &id )
{
- if (mTodoView) mTodoView->setDocumentId( id );
+ if (mTodoView) {
+ mTodoView->clearList();
+ mTodoView->setDocumentId( id );
+ }
}