-rw-r--r-- | korganizer/koagendaview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp index 8b79788..8e9add3 100644 --- a/korganizer/koagendaview.cpp +++ b/korganizer/koagendaview.cpp @@ -1504,12 +1504,14 @@ void KOAgendaView::setStartHour( int h ) mAgenda->setStartHour( h ); } void KOAgendaView::updateTodo( Todo * t, int ) { + if ( !isVisible() ) + return; bool remove = false; bool removeAD = false; QDate da; if ( t->hasCompletedDate() ) da = t->completed().date(); else |