summaryrefslogtreecommitdiffabout
path: root/korganizer/koeventviewerdialog.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/koeventviewerdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koeventviewerdialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/korganizer/koeventviewerdialog.cpp b/korganizer/koeventviewerdialog.cpp
index 0763825..2e936f3 100644
--- a/korganizer/koeventviewerdialog.cpp
+++ b/korganizer/koeventviewerdialog.cpp
@@ -246,3 +246,5 @@ void KOEventViewerDialog::showIncidence()
((Todo*)mIncidence)->setCompleted(QDateTime::currentDateTime() );
- emit todoCompleted(((Todo*)mIncidence));
+ emit todoCompleted(((Todo*)mIncidence));
+ mEventViewer->setTodo((Todo*)mIncidence);
+ return;
} else {