-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 @@ -2632,2 +2632,5 @@ void CalendarView::updateView(const QDate &start, const QDate &end) #ifdef DESKTOP_VERSION + if ( ! mDateScrollBar->draggingSlider () ) { + int dof = start.dayOfYear()-1; + if ( dof != mDateScrollBar->value() ) { mDateScrollBar->blockSignals( true ); @@ -2635,2 +2638,4 @@ void CalendarView::updateView(const QDate &start, const QDate &end) mDateScrollBar->blockSignals( false ); + } + } #endif |