-rw-r--r-- | korganizer/calendarview.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 558fc55..98e0ac1 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -2628,8 +2628,22 @@ void CalendarView::changeIncidenceDisplay(Incidence *which, int action) void CalendarView::changeEventDisplay(Event *which, int action) { // kdDebug() << "CalendarView::changeEventDisplay" << endl; changeIncidenceDisplay((Incidence *)which, action); + + + static bool clearallviews = false; + if ( KOPrefs::instance()->mGlobalUpdateDisabled ) { + if ( clearallviews ) { + clearAllViews(); + clearallviews = false; + } + return; + } + clearallviews = true; + + + mDateNavigator->updateView(); //mDialogManager->updateSearchDialog(); if (which) { |