author | zautrix <zautrix> | 2005-07-03 07:33:48 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-03 07:33:48 (UTC) |
commit | 914c795a77d8bb28fc8c2155cfc9524f3effdde1 (patch) (side-by-side diff) | |
tree | 25f8bb908b4afd982a874fc890c5e3ae75fe6d6d /korganizer/calendarview.cpp | |
parent | 3e2908a91251482d91404464aaf98ce902a319ce (diff) | |
download | kdepimpi-914c795a77d8bb28fc8c2155cfc9524f3effdde1.zip kdepimpi-914c795a77d8bb28fc8c2155cfc9524f3effdde1.tar.gz kdepimpi-914c795a77d8bb28fc8c2155cfc9524f3effdde1.tar.bz2 |
slider fix
-rw-r--r-- | korganizer/calendarview.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 6746de2..a10e93c 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -2629,11 +2629,16 @@ void CalendarView::updateTodoViews() void CalendarView::updateView(const QDate &start, const QDate &end) { #ifdef DESKTOP_VERSION - mDateScrollBar->blockSignals( true ); - mDateScrollBar->setValue( start.dayOfYear()-1); - mDateScrollBar->blockSignals( false ); + if ( ! mDateScrollBar->draggingSlider () ) { + int dof = start.dayOfYear()-1; + if ( dof != mDateScrollBar->value() ) { + mDateScrollBar->blockSignals( true ); + mDateScrollBar->setValue( start.dayOfYear()-1); + mDateScrollBar->blockSignals( false ); + } + } #endif mTodoList->updateView(); mViewManager->updateView(start, end); //mDateNavigator->updateView(); |