summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (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
@@ -241,13 +241,15 @@ void KOEventViewerDialog::showIncidence()
241 emit showAgendaView( false ); 241 emit showAgendaView( false );
242 return; 242 return;
243 } 243 }
244 */ 244 */
245 ((Todo*)mIncidence)->setCompleted( true ); 245 ((Todo*)mIncidence)->setCompleted( true );
246 ((Todo*)mIncidence)->setCompleted(QDateTime::currentDateTime() ); 246 ((Todo*)mIncidence)->setCompleted(QDateTime::currentDateTime() );
247 emit todoCompleted(((Todo*)mIncidence)); 247 emit todoCompleted(((Todo*)mIncidence));
248 mEventViewer->setTodo((Todo*)mIncidence);
249 return;
248 } else { 250 } else {
249 date = mIncidence->dtStart().date(); 251 date = mIncidence->dtStart().date();
250 globalFlagBlockAgenda = 1; 252 globalFlagBlockAgenda = 1;
251 emit showAgendaView( false ); 253 emit showAgendaView( false );
252 globalFlagBlockAgenda = 2; 254 globalFlagBlockAgenda = 2;
253 emit jumpToTime( date ); 255 emit jumpToTime( date );