-rw-r--r-- | korganizer/calendarview.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 6746de2..a10e93c 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp | |||
@@ -2630,9 +2630,14 @@ void CalendarView::updateTodoViews() | |||
2630 | void CalendarView::updateView(const QDate &start, const QDate &end) | 2630 | void CalendarView::updateView(const QDate &start, const QDate &end) |
2631 | { | 2631 | { |
2632 | #ifdef DESKTOP_VERSION | 2632 | #ifdef DESKTOP_VERSION |
2633 | if ( ! mDateScrollBar->draggingSlider () ) { | ||
2634 | int dof = start.dayOfYear()-1; | ||
2635 | if ( dof != mDateScrollBar->value() ) { | ||
2633 | mDateScrollBar->blockSignals( true ); | 2636 | mDateScrollBar->blockSignals( true ); |
2634 | mDateScrollBar->setValue( start.dayOfYear()-1); | 2637 | mDateScrollBar->setValue( start.dayOfYear()-1); |
2635 | mDateScrollBar->blockSignals( false ); | 2638 | mDateScrollBar->blockSignals( false ); |
2639 | } | ||
2640 | } | ||
2636 | #endif | 2641 | #endif |
2637 | mTodoList->updateView(); | 2642 | mTodoList->updateView(); |
2638 | mViewManager->updateView(start, end); | 2643 | mViewManager->updateView(start, end); |