-rw-r--r-- | korganizer/calendarview.cpp | 4 | ||||
-rw-r--r-- | korganizer/kotodoview.cpp | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 8e83723..ba0e6c6 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp | |||
@@ -1932,11 +1932,11 @@ void CalendarView::eventDeleted() | |||
1932 | void CalendarView::changeTodoDisplay(Todo *which, int action) | 1932 | void CalendarView::changeTodoDisplay(Todo *which, int action) |
1933 | { | 1933 | { |
1934 | changeIncidenceDisplay((Incidence *)which, action); | 1934 | changeIncidenceDisplay((Incidence *)which, action); |
1935 | mDateNavigator->updateView(); | 1935 | mDateNavigator->updateView(); //LR |
1936 | //mDialogManager->updateSearchDialog(); | 1936 | //mDialogManager->updateSearchDialog(); |
1937 | 1937 | ||
1938 | if (which) { | 1938 | if (which) { |
1939 | mViewManager->currentView()->updateView(); | 1939 | //mViewManager->currentView()->updateView();//LR |
1940 | //mTodoList->updateView(); | 1940 | //mTodoList->updateView(); |
1941 | } | 1941 | } |
1942 | 1942 | ||
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index d9e0a03..da46eca 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp | |||
@@ -493,6 +493,12 @@ void KOTodoView::setNarrow() | |||
493 | } | 493 | } |
494 | void KOTodoView::updateView() | 494 | void KOTodoView::updateView() |
495 | { | 495 | { |
496 | |||
497 | if ( mBlockUpdate ) { | ||
498 | //qDebug("blocked "); | ||
499 | return; | ||
500 | } | ||
501 | //qDebug("update "); | ||
496 | // kdDebug() << "KOTodoView::updateView()" << endl; | 502 | // kdDebug() << "KOTodoView::updateView()" << endl; |
497 | QFont fo = KOPrefs::instance()->mTodoViewFont; | 503 | QFont fo = KOPrefs::instance()->mTodoViewFont; |
498 | mTodoListView->clear(); | 504 | mTodoListView->clear(); |