summaryrefslogtreecommitdiffabout
path: root/korganizer/calendarview.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/calendarview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/calendarview.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index a8ad467..503ef12 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -5,7 +5,7 @@
http://www.troll.no and http://www.kde.org respectively
Copyright (c) 1997, 1998, 1999
- Preston Brown (preston.brown@yale.edu)
+ Preston Brown (preton.brown@yale.edu)
Fester Zigterman (F.J.F.ZigtermanRustenburg@student.utwente.nl)
Ian Dawes (iadawes@globalserve.net)
Laszlo Boloni (boloni@cs.purdue.edu)
@@ -1659,8 +1659,9 @@ bool CalendarView::openCalendar(QString filename, bool merge)
globalFlagBlockAgenda = 1;
if (!merge) {
- mCalendar->close();
mTodoList->clearList();
+ mViewManager->setDocumentId( filename );
+ mCalendar->close();
}
mStorage->setFileName( filename );