author | zautrix <zautrix> | 2004-09-20 13:55:25 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-20 13:55:25 (UTC) |
commit | f222bd1339ac8323e3c99af84a6f83c21cacb8f8 (patch) (side-by-side diff) | |
tree | bb56c3ff65506007eb48cea896d5893f70893261 | |
parent | b01b669d88fa195261d29ecf73b1c69e608a5ebc (diff) | |
download | kdepimpi-f222bd1339ac8323e3c99af84a6f83c21cacb8f8.zip kdepimpi-f222bd1339ac8323e3c99af84a6f83c21cacb8f8.tar.gz kdepimpi-f222bd1339ac8323e3c99af84a6f83c21cacb8f8.tar.bz2 |
Fix todo crash
-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 @@ -1933,9 +1933,9 @@ void CalendarView::changeTodoDisplay(Todo *which, int action) { changeIncidenceDisplay((Incidence *)which, action); - mDateNavigator->updateView(); + mDateNavigator->updateView(); //LR //mDialogManager->updateSearchDialog(); if (which) { - mViewManager->currentView()->updateView(); + //mViewManager->currentView()->updateView();//LR //mTodoList->updateView(); } diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index d9e0a03..da46eca 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp @@ -494,4 +494,10 @@ void KOTodoView::setNarrow() void KOTodoView::updateView() { + + if ( mBlockUpdate ) { + //qDebug("blocked "); + return; + } + //qDebug("update "); // kdDebug() << "KOTodoView::updateView()" << endl; QFont fo = KOPrefs::instance()->mTodoViewFont; |