summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-08-29 14:26:12 (UTC)
committer zautrix <zautrix>2004-08-29 14:26:12 (UTC)
commit78f44f13835e3fa501997f485b505b193bd474f5 (patch) (side-by-side diff)
tree749dbe90d67997e551568d19d3cd40a96fbe29af
parent3a5648d8378b44cbe12d66bafa3d557c065f0f6d (diff)
downloadkdepimpi-78f44f13835e3fa501997f485b505b193bd474f5.zip
kdepimpi-78f44f13835e3fa501997f485b505b193bd474f5.tar.gz
kdepimpi-78f44f13835e3fa501997f485b505b193bd474f5.tar.bz2
Bugfix for changed todo in WN view
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/calendarview.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index 7eca69d..7444bad 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -1861,24 +1861,32 @@ void CalendarView::eventAdded(Event *event)
void CalendarView::eventToBeDeleted(Event *)
{
kdDebug() << "CalendarView::eventToBeDeleted(): to be implemented" << endl;
}
void CalendarView::eventDeleted()
{
changeEventDisplay(0,KOGlobals::EVENTDELETED);
}
void CalendarView::changeTodoDisplay(Todo *which, int action)
{
changeIncidenceDisplay((Incidence *)which, action);
+ mDateNavigator->updateView();
+ //mDialogManager->updateSearchDialog();
+
+ if (which) {
+ mViewManager->currentView()->updateView();
+ mTodoList->updateView();
+ }
+
}
void CalendarView::changeIncidenceDisplay(Incidence *which, int action)
{
updateUnmanagedViews();
//qDebug(" CalendarView::changeIncidenceDisplay++++++++++++++++++++++++++ %d %d ",which, action );
if ( action == KOGlobals::EVENTDELETED ) { //delete
mCalendar->checkAlarmForIncidence( 0, true );
if ( mEventViewerDialog )
mEventViewerDialog->hide();
}
else